Interface | Description |
---|---|
JsonReader.ClassFactory |
Subclass this interface and create a class that will return a new instance of the
passed in Class (c).
|
JsonReader.JsonClassReader |
Implement this interface to add a custom JSON reader.
|
JsonReader.JsonClassReaderBase | Deprecated |
JsonReader.MissingFieldHandler |
Used to react to fields missing when reading an object.
|
JsonWriter.JsonClassWriter |
Implement this interface to customize the JSON output for a given class.
|
JsonWriter.JsonClassWriterBase | Deprecated |
ReaderContext | |
ReadOptions | |
ReferenceTracker | |
WriterContext |
Class | Description |
---|---|
ArgumentHelper | |
Convention | |
FastReader | |
FastWriter | |
JsonIo |
This is the main API for json-io.
|
JsonObject |
This class holds a JSON object in a LinkedHashMap.
|
JsonReader |
Read an object graph in JSON format and make it available in Java objects, or
in a "Map of Maps." (untyped representation).
|
JsonReader.CollectionFactory |
Use to create new instances of collection interfaces (needed for empty collections)
|
JsonReader.MapFactory |
Use to create new instances of Map interfaces (needed for empty Maps).
|
JsonWriter |
Output a Java object graph in JSON format.
|
LRUCache<K,V> |
This class provides a Least Recently Used (LRU) cache API that will evict the least recently used items,
once a threshold is met.
|
MapResolver |
The MapResolver converts the raw Maps created from the JsonParser to higher
quality Maps representing the implied object graph.
|
MetaUtils |
This utility class has the methods mostly related to reflection related code.
|
ObjectResolver |
The ObjectResolver converts the raw Maps created from the JsonParser to Java
objects (a graph of Java instances).
|
Primitives | |
Readers |
All custom readers for json-io subclass this class.
|
Readers.AtomicBooleanReader | |
Readers.AtomicIntegerReader | |
Readers.AtomicLongReader | |
Readers.BigDecimalReader | |
Readers.BigIntegerReader | |
Readers.CalendarReader | |
Readers.ClassReader | |
Readers.LocaleReader | |
Readers.RecordReader | |
Readers.StringBufferReader | |
Readers.StringBuilderReader | |
Readers.StringReader | |
Readers.URLReader | |
Readers.UUIDReader | |
ReadOptionsBuilder | |
Resolver |
This class is used to convert a source of Java Maps that were created from
the JsonParser.
|
Resolver.Missingfields |
stores missing fields information to notify client after the complete deserialization resolution
|
WriteOptions |
This class contains all the "feature" control (options) for controlling json-io's
output JSON.
|
Writers |
All custom writers for json-io subclass this class.
|
Writers.BigDecimalWriter | |
Writers.BigIntegerWriter | |
Writers.CalendarWriter | |
Writers.CharacterWriter |
Used as a template to write out primitive String types.
|
Writers.ClassWriter | |
Writers.DateAsLongWriter | |
Writers.DateWriter | |
Writers.DoubleWriter |
Used as a template to write out primitive value types such as int, boolean, etc.
|
Writers.EnumsAsStringWriter | |
Writers.FloatingPointWriter<T> |
Used as a template to write out primitive value types such as int, boolean, etc.
|
Writers.FloatWriter |
Used as a template to write out primitive value types such as int, boolean, etc.
|
Writers.JsonStringWriter | |
Writers.LocalDateAsLong | |
Writers.LocalDateTimeWriter | |
Writers.LocalDateWriter | |
Writers.LocaleWriter | |
Writers.LocalTimeWriter | |
Writers.MonthDayWriter | |
Writers.NativeJsonPrimitive |
Used for Native JSON primitives that never need to write their type.
|
Writers.OffsetDateTimeWriter | |
Writers.OffsetTimeWriter | |
Writers.PrimitiveBasicStringWriter |
This can be used when you know your objects are going to be represented as strings,
but won't need any UTF-8 escaping.
|
Writers.PrimitiveTypeWriter |
Used as a template to write out types that will have a primitive form.
|
Writers.PrimitiveUtf8StringWriter |
Used as a template to write out primitive String types.
|
Writers.PrimitiveValueWriter |
Used as a template to write out primitive value types such as int, boolean, etc.
|
Writers.TemporalWriter<T extends TemporalAccessor> | |
Writers.TimestampWriter | |
Writers.TimeZoneWriter | |
Writers.UUIDWriter | |
Writers.YearMonthWriter | |
Writers.YearWriter | |
Writers.ZonedDateTimeWriter |
Enum | Description |
---|---|
TypeWriter | |
WriteOptions.ShowType |
Exception | Description |
---|---|
JsonIoException |
Custom RuntimeException subclass that is used as the main exception thrown by
json-io.
|
Copyright © 2023. All rights reserved.