Uses of Class
com.google.gson.stream.JsonToken
-
Packages that use JsonToken Package Description com.google.gson.internal.bind com.google.gson.stream 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 JsonToken Modifier and Type Method Description JsonToken
JsonTreeReader. peek()
Methods in com.google.gson.internal.bind with parameters of type JsonToken Modifier and Type Method Description private void
JsonTreeReader. expect(JsonToken expected)
private java.lang.Object
ObjectTypeAdapter. readTerminal(JsonReader in, JsonToken peeked)
Reads anObject
which cannot have any nested elementsprivate java.lang.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 JsonToken Modifier and Type Method Description JsonToken
JsonReader. peek()
Returns the type of the next token without consuming it.static JsonToken
JsonToken. valueOf(java.lang.String name)
Returns 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.
-