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 JsonTokenJsonTreeReader. peek()Methods in com.google.gson.internal.bind with parameters of type JsonToken Modifier and Type Method Description private voidJsonTreeReader. expect(JsonToken expected)private JsonElementJsonElementTypeAdapter. readTerminal(JsonReader in, JsonToken peeked)Reads aJsonElementwhich cannot have any nested elementsprivate java.lang.ObjectObjectTypeAdapter. readTerminal(JsonReader in, JsonToken peeked)Reads anObjectwhich cannot have any nested elementsprivate JsonElementJsonElementTypeAdapter. tryBeginNesting(JsonReader in, JsonToken peeked)Tries to begin reading a JSON array or JSON object, returningnullif the next element is neither of those.private java.lang.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 JsonToken Modifier and Type Method Description JsonTokenJsonReader. peek()Returns the type of the next token without consuming it.static JsonTokenJsonToken. 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.
-