Package com.dslplatform.json
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(JsonWriter writer, T value)
-
-
-
Method Detail
-
write
void write(JsonWriter writer, @Nullable T value)
-
-