See: Description
| Interface | Description |
|---|---|
| ValueDeserializer<T,R> |
Turns a config value of type
T into a Java object of type R. |
| ValueDeserializerProvider<T,R> |
Provides
ValueDeserializer to deserialize configuration values. |
| ValueSerializer<T,R> |
Turns a Java object of type
T into a Config value of type R. |
| ValueSerializerProvider<V,R> |
Provides
ValueSerializer to serialize configuration values. |
| Class | Description |
|---|---|
| DeserializerContext |
Holds deserialization settings and provides some base deserialization logic.
|
| ObjectDeserializer |
Deserializes configs (
UnmodifiableConfig, Config, etc.) to Java objects. |
| ObjectDeserializerBuilder |
Builder for
ObjectDeserializer. |
| ObjectSerializer |
Serializes Java objects to NightConfig configurations (
UnmodifiableConfig, Config, etc.). |
| ObjectSerializerBuilder |
Builder for
ObjectSerializer. |
| SerializerContext |
Holds serialization settings and provides some base serialization logic.
|
| TypeConstraint |
Represents a type constraint that must be satisfied by the serialization/deserialization process.
|
| Exception | Description |
|---|---|
| SerdeAssertException |
Thrown when an assertion, specified on a field by an annotation of type
SerdeAssert,
is not verified during (de)serialization. |
| SerdeException |
Thrown when an error occurs during the serialization
or deserialization process.
|
The sub-package com.electronwill.nightconfig.core.serde.annotations contains annotations
that you can apply to fields and/or classes in order to change how they are (de)serialized.
ObjectSerializer,
ObjectDeserializer