Package com.squareup.moshi
@ParametersAreNonnullByDefault
package com.squareup.moshi
Moshi is modern JSON library for Android and Java.
-
ClassDescriptionCustomizes how a field is encoded as JSON.JsonAdapter<T>Converts Java values to JSON, and JSON values to Java.Customizes how a type is encoded as JSON.Thrown when the data in a JSON document doesn't match the data expected by the caller.Thrown when the data being parsed is not encoded as valid JSON.Annotates another annotation, causing it to specialize how values are encoded and decoded.Reads a JSON (RFC 7159) encoded value as a stream of tokens.A set of strings to be chosen with
JsonReader.selectName(com.squareup.moshi.JsonReader.Options)
orJsonReader.selectString(com.squareup.moshi.JsonReader.Options)
.A structure, name, or value type in a JSON-encoded string.Writes a JSON (RFC 7159) encoded value to a stream, one token at a time.Coordinates binding between JSON values and Java objects.Factory methods for types.