| Package | Description |
|---|---|
| com.dslplatform.json.runtime |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> DecodePropertyInfo<JsonReader.BindObject<T>> |
Settings.createDecoder(Settings.BiConsumer<T,R> write,
String name,
DslJson json,
boolean exactNameMatch,
boolean isMandatory,
int index,
boolean nonNull,
JsonReader.ReadObject<R> decoder) |
static <T,R> DecodePropertyInfo<JsonReader.BindObject<T>> |
Settings.createDecoder(Settings.BiConsumer<T,R> write,
String name,
DslJson json,
boolean exactNameMatch,
boolean isMandatory,
int index,
boolean nonNull,
Type type) |
static <T,R> DecodePropertyInfo<JsonReader.BindObject<T>> |
Settings.createDecoder(Settings.BiConsumer<T,R> write,
String name,
DslJson json,
Class<R> manifest) |
| Modifier and Type | Method and Description |
|---|---|
static <D> ObjectFormatDescription<D,D> |
ObjectFormatDescription.create(Class<D> manifest,
InstanceFactory<D> newInstance,
JsonWriter.WriteObject[] encoders,
DecodePropertyInfo<JsonReader.BindObject>[] decoders,
DslJson json,
boolean skipOnUnknown) |
| Constructor and Description |
|---|
ImmutableDescription(Class<T> manifest,
Object[] defArgs,
Settings.Function<Object[],T> newInstance,
JsonWriter.WriteObject[] encoders,
DecodePropertyInfo<JsonReader.ReadObject>[] decoders,
boolean alwaysSerialize,
boolean skipOnUnknown) |
ObjectFormatDescription(Type manifest,
InstanceFactory<B> newInstance,
Settings.Function<B,T> finalize,
JsonWriter.WriteObject[] encoders,
DecodePropertyInfo<JsonReader.BindObject>[] decoders,
DslJson json,
boolean skipOnUnknown) |
Copyright © 2023. All rights reserved.