YamlSerializationAdapter<T> class abstract

Bidirectional YAML converter implementing both serialization and deserialization.

Implemented types
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 type can be deserialized by the system.
inherited
canSerialize(Class type) bool
Returns whether the given type can be serialized by the system.
inherited
deserialize(YamlParser parser, YamlDeserializationContext ctxt, Class toClass) → T?
Deserializes an object of type T using the given P and 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 T into 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 Class metadata 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