Interface JsonWriter.WriteObject<T>

Type Parameters:
T - type
All Known Subinterfaces:
FormatConverter<T>
All Known Implementing Classes:
ArrayEncoder, ArrayFormatDescription, AttributeArrayEncoder, AttributeObjectAlwaysEncoder, AttributeObjectNonDefaultEncoder, CollectionEncoder, EnumDescription, FormatDescription, ImmutableAnalyzer.LazyImmutableDescription, ImmutableDescription, LazyAttributeArrayEncoder, LazyAttributeObjectEncoder, MapEncoder, MixinAnalyzer.LazyMixinDescription, MixinDescription, MixinWriter, ObjectAnalyzer.LazyObjectDescription, ObjectFormatDescription, OptionalEncoder, ResultSetConverter, WriteDescription
Enclosing class:
JsonWriter

public static interface JsonWriter.WriteObject<T>
Custom objects can be serialized based on the implementation specified through this interface. Annotation processor creates custom deserializers at compile time and registers them into DslJson.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(JsonWriter writer, T value)