Uses of Enum Class
com.google.gson.stream.JsonToken
Packages that use JsonToken
Package
Description
This package provides classes for processing JSON in an efficient streaming way.
-
Uses of JsonToken in com.google.gson.internal.bind
Methods in com.google.gson.internal.bind that return JsonTokenMethods in com.google.gson.internal.bind with parameters of type JsonTokenModifier and TypeMethodDescriptionprivate void
private Object
ObjectTypeAdapter.readTerminal
(JsonReader in, JsonToken peeked) Reads anObject
which cannot have any nested elementsprivate Object
ObjectTypeAdapter.tryBeginNesting
(JsonReader in, JsonToken peeked) Tries to begin reading a JSON array or JSON object, returningnull
if the next element is neither of those. -
Uses of JsonToken in com.google.gson.stream
Methods in com.google.gson.stream that return JsonTokenModifier and TypeMethodDescriptionJsonReader.peek()
Returns the type of the next token without consuming it.static JsonToken
Returns the enum constant of this class with the specified name.static JsonToken[]
JsonToken.values()
Returns an array containing the constants of this enum class, in the order they are declared.