Example usage for Java com.google.gson TypeAdapter fields, constructors, methods, implement or subclass
The text is from its open source code.
T | fromJsonTree(JsonElement jsonTree) Converts jsonTree to a Java object. |
TypeAdapter | nullSafe() This wrapper method is used to make a type adapter null tolerant. |
T | read(JsonReader in) Reads one JSON value (an array, object, string, number, boolean or null) and converts it to a Java object. |
JsonElement | toJsonTree(T value) Converts value to a JSON tree. |
void | write(JsonWriter out, T value) Writes one JSON value (an array, object, string, number, boolean or null) for value . |