Object Json Adapter
This adapter is used when the declared type is {@code java.lang.Object} . Typically the runtime type is something else, and when encoding JSON this delegates to the runtime type's adapter. For decoding (where there is no runtime type to inspect), this uses maps and lists.
This adapter needs a Moshi instance to look up the appropriate adapter for runtime types as they are encountered.
Constructors
ObjectJsonAdapter
Link copied to clipboard
Functions
failOnUnknown
Link copied to clipboard
fromJson
Link copied to clipboard
fromJsonValue
Link copied to clipboard
indent
Link copied to clipboard
lenient
Link copied to clipboard
nonNull
Link copied to clipboard
nullSafe
Link copied to clipboard
serializeNulls
Link copied to clipboard
toJson
Link copied to clipboard
toJsonValue
Link copied to clipboard