| Interface | Description |
|---|---|
| Configuration |
Configuration API for setting up readers/writers during library initialization.
|
| DslJson.ConverterFactory<T> | |
| DslJson.Fallback<TContext> | |
| JsonObject |
Objects which implement this interface are supported for serialization in DslJson.
|
| JsonReader.BindObject<T> |
Existing instances can be provided as target for deserialization.
|
| JsonReader.ReadJsonObject<T extends JsonObject> | |
| JsonReader.ReadObject<T> |
Custom objects can be deserialized based on the implementation specified through this interface.
|
| JsonWriter.WriteObject<T> |
Custom objects can be serialized based on the implementation specified through this interface.
|
| ResultSetConverter.Writer | |
| StringCache |
| Class | Description |
|---|---|
| BinaryConverter | |
| BoolConverter | |
| DslJson<TContext> |
Main DSL-JSON class.
|
| DslJson.Settings<TContext> |
Configuration for DslJson options.
|
| DslJson.SimpleStringCache |
Simplistic string cache implementation.
|
| JavaGeomConverter | |
| JavaTimeConverter | |
| JsonReader<TContext> |
Object for processing JSON from byte[] and InputStream.
|
| JsonWriter |
DslJson writes JSON into JsonWriter which has two primary modes of operation:
* targeting specific output stream
* buffering the entire response in memory
In both cases JsonWriter writes into an byte[] buffer.
|
| MapConverter | |
| NetConverter | |
| NumberConverter | |
| ObjectConverter | |
| PrettifyOutputStream | |
| ResultSetConverter | |
| StringConverter | |
| UUIDConverter | |
| XmlConverter |
| Enum | Description |
|---|---|
| CompiledJson.Behavior |
Defines behavior for handling unknown properties.
|
| CompiledJson.Format |
JSON object format.
|
| CompiledJson.ObjectFormatPolicy |
Class level tuning for object format serialization behavior.
|
| CompiledJson.TypeSignature |
Some types (abstract classes and interfaces) require additional metadata so they can be correctly deserialized.
|
| JsonAttribute.IncludePolicy |
Customize property serialization behavior in minimal serialization object format.
|
| JsonReader.DoublePrecision | |
| JsonReader.ErrorInfo | |
| JsonReader.UnknownNumberParsing | |
| PrettifyOutputStream.IndentType |
| Exception | Description |
|---|---|
| ConfigurationException |
DSL-JSON specific exception thrown when DSL-JSON was not configured for types
which are attempted to be serialized.
|
| ParsingException |
DSL-JSON specific exception thrown when DSL-JSON is unable to parse provided JSON.
|
| SerializationException |
| Annotation Type | Description |
|---|---|
| CompiledJson |
Compile time data-binding annotation.
|
| JsonAttribute |
Compile time property configuration.
|
| JsonConverter |
JSON converter can be specified for class.
|
| JsonValue |
Specify json value source used for serialization/deserialization.
|
| NonNull |
A common DslJson annotation to declare that annotated elements cannot be
null. |
| NonNullApi |
A common DslJson annotation to declare that parameters and return values
are to be considered as non-nullable by default for a given package.
|
| Nullable |
A common DslJson annotation to declare that annotated elements can be
null under
some circumstance. |
Copyright © 2023. All rights reserved.