Package com. squareup. moshi
Moshi is modern JSON library for Android and Java.
Types
Json
Link copied to clipboard
Customizes how a field is encoded as JSON.
Json Adapter
Link copied to clipboard
Converts Java values to JSON, and JSON values to Java.
Json Class
Link copied to clipboard
Customizes how a type is encoded as JSON.
Json Data Exception
Link copied to clipboard
Thrown when the data in a JSON document doesn't match the data expected by the caller.
Json Encoding Exception
Link copied to clipboard
Thrown when the data being parsed is not encoded as valid JSON.
Json Qualifier
Link copied to clipboard
annotation class JsonQualifier
Content copied to clipboard
Annotates another annotation, causing it to specialize how values are encoded and decoded.
Json Reader
Link copied to clipboard
Reads a JSON (RFC 7159) encoded value as a stream of tokens.
Json Writer
Link copied to clipboard
Writes a JSON (RFC 7159) encoded value to a stream, one token at a time.
Types
Link copied to clipboard
Factory methods for types.
Functions
add Adapter
Link copied to clipboard
inline fun <T> Moshi.Builder.addAdapter(adapter: JsonAdapter<T>): Moshi.Builder
Content copied to clipboard
as Array Type
Link copied to clipboard
Returns a GenericArrayType with this as its GenericArrayType.getGenericComponentType.
next Annotations
Link copied to clipboard
inline fun <T : Annotation> Set<Annotation>.nextAnnotations(): Set<Annotation>?
Content copied to clipboard
supertype Of
Link copied to clipboard