YamlSerializationAdapter<T> class
abstract
Bidirectional YAML converter implementing both serialization and deserialization.
- Implemented types
-
- ObjectSerializable
- ObjectSerializer<
T, G, SC> - ObjectDeserializer<
T, P, DC>
- Annotations
-
- @Generic.new(YamlSerializationAdapter)
Constructors
- YamlSerializationAdapter()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canDeserialize(
Class type) → bool -
Returns whether the given
typecan be deserialized by the system.inherited -
canSerialize(
Class type) → bool -
Returns whether the given
typecan be serialized by the system.inherited -
deserialize(
YamlParser parser, YamlDeserializationContext ctxt, Class toClass) → T? -
Deserializes an object of type
Tusing the givenPand DeserializationContext.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
T value, YamlGenerator generator, YamlSerializationContext serializer) → void -
Serializes an object of type
Tinto an object using the provided Generator and SerializationContext.inherited -
supports(
DeserializationContext< Parser> context) → bool - Determines whether this deserializer supports the given deserialization context.
-
supportsContext(
SerializationContext< Generator> context) → bool - Determines whether this serializer supports the given serialization context.
-
toClass(
) → Class< T> -
Provides a contract for types capable of exposing their associated
runtime
Classmetadata representation within the JetLeaf reflection system.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
CLASS
→ Class<
YamlSerializationAdapter> -
final