A JsonFormat
that doesn't write and always return this instance of a
.
Constructs a JsonFormat from its two parts, JsonReader and JsonWriter.
Lazy wrapper around serialization.
Lazy wrapper around serialization. Useful when you want to serialize (mutually) recursive structures.
Turns a RootJsonReader into a RootJsonFormat that throws an UnsupportedOperationException for writes.
Turns a JsonReader into a JsonFormat that throws an UnsupportedOperationException for writes.
Turns a RootJsonWriter into a RootJsonFormat that throws an UnsupportedOperationException for reads.
Turns a JsonWriter into a JsonFormat that throws an UnsupportedOperationException for reads.
A JsonFormat
that can read and write an instance of T
by using a JsonFormat
for U
.
Explicitly turns a JsonFormat into a RootJsonFormat.
Constructs a RootJsonFormat from its two parts, RootJsonReader and RootJsonWriter.
Wraps an existing JsonReader with Exception protection.
Provides additional JsonFormats and helpers