Uses of Enum
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 voidprivate ObjectObjectTypeAdapter.readTerminal(JsonReader in, JsonToken peeked) Reads anObjectwhich cannot have any nested elementsprivate ObjectObjectTypeAdapter.tryBeginNesting(JsonReader in, JsonToken peeked) Tries to begin reading a JSON array or JSON object, returningnullif 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 JsonTokenReturns the enum constant of this type with the specified name.static JsonToken[]JsonToken.values()Returns an array containing the constants of this enum type, in the order they are declared.