| Interface | Description |
|---|---|
| JsonAdapter.Factory |
| Class | Description |
|---|---|
| JsonAdapter<T> |
Converts Java values to JSON, and JSON values to Java.
|
| JsonReader |
Reads a JSON (RFC 7159)
encoded value as a stream of tokens.
|
| JsonReader.Options |
A set of strings to be chosen with
JsonReader.selectName(com.squareup.moshi.JsonReader.Options) or JsonReader.selectString(com.squareup.moshi.JsonReader.Options). |
| JsonWriter |
Writes a JSON (RFC 7159)
encoded value to a stream, one token at a time.
|
| Moshi |
Coordinates binding between JSON values and Java objects.
|
| Moshi.Builder | |
| Types |
Factory methods for types.
|
| Enum | Description |
|---|---|
| JsonReader.Token |
A structure, name, or value type in a JSON-encoded string.
|
| Exception | Description |
|---|---|
| JsonDataException |
Thrown when the data in a JSON document doesn't match the data expected by the caller.
|
| JsonEncodingException |
Thrown when the data being parsed is not encoded as valid JSON.
|
| Annotation Type | Description |
|---|---|
| FromJson | |
| Json |
Customizes how a field is encoded as JSON.
|
| JsonQualifier |
Annotates another annotation, causing it to specialize how values are encoded and decoded.
|
| ToJson |
Copyright © 2017. All Rights Reserved.