Null Safe Json Adapter
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Returns a JSON adapter equal to this, but that throws a JsonDataException when unknown names and values are encountered.
Link copied to clipboard
Decodes a Java value object from
value, which must be comprised of maps, lists, strings, numbers, booleans and nulls.Link copied to clipboard
Return a JSON adapter equal to this, but using
indent to control how the result is formatted.Link copied to clipboard
Returns a JSON adapter equal to this, but is lenient when reading and writing.
Link copied to clipboard
Returns a JSON adapter equal to this JSON adapter, but that refuses null values.
Link copied to clipboard
Returns a JSON adapter equal to this JSON adapter, but with support for reading and writing nulls.
Link copied to clipboard
Returns a JSON adapter equal to this JSON adapter, but that serializes nulls when encoding JSON.
Link copied to clipboard
Encodes the given
value into a String and returns it.Encodes the given
value with the given writer.Link copied to clipboard
Encodes
value as a Java value object comprised of maps, lists, strings, numbers, booleans, and nulls.