Package com.dslplatform.json.runtime
Class LazyAttributeObjectEncoder<T,R>
java.lang.Object
com.dslplatform.json.runtime.LazyAttributeObjectEncoder<T,R>
- All Implemented Interfaces:
JsonWriter.WriteObject<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final Objectprivate JsonWriter.WriteObject<R> private final DslJsonprivate final byte[]private final Settings.Function<T, R> private final Type -
Constructor Summary
ConstructorsConstructorDescriptionLazyAttributeObjectEncoder(Settings.Function<T, R> read, String name, DslJson json, Type type) -
Method Summary
-
Field Details
-
read
-
quotedName
private final byte[] quotedName -
alwaysSerialize
private final boolean alwaysSerialize -
encoder
-
defaultValue
-
json
-
type
-
-
Constructor Details
-
LazyAttributeObjectEncoder
-
-
Method Details
-
write
- Specified by:
writein interfaceJsonWriter.WriteObject<T>
-