| Package | Description |
|---|---|
| org.eclipse.yasson.internal | |
| org.eclipse.yasson.internal.model | |
| org.eclipse.yasson.internal.serializer |
| Modifier and Type | Method | Description |
|---|---|---|
Optional<AdapterBinding> |
ComponentMatcher.getAdapterBinding(Type propertyRuntimeType,
JsonBindingModel model) |
Get components from property model (if declared by annotation and runtime type matches),
or return components searched by runtime type
|
Optional<DeserializerBinding<?>> |
ComponentMatcher.getDeserializerBinding(Type propertyRuntimeType,
JsonBindingModel model) |
Lookup deserializer binding for a given property runtime type.
|
Optional<SerializerBinding<?>> |
ComponentMatcher.getSerializerBinding(Type propertyRuntimeType,
JsonBindingModel propertyModel) |
Lookup serializer binding for a given property runtime type.
|
<T> void |
Marshaller.serializeRoot(T root,
javax.json.stream.JsonGenerator generator,
JsonBindingModel model) |
Serializes root element.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
PropertyModel |
A model for class property.
|
| Modifier and Type | Method | Description |
|---|---|---|
JsonBindingModel |
JsonbPropertyInfo.getJsonBindingModel() |
Gets binding model.
|
| Modifier and Type | Method | Description |
|---|---|---|
JsonbPropertyInfo |
JsonbPropertyInfo.withJsonBindingModel(JsonBindingModel jsonBindingModel) |
Sets binding model.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
ContainerModel |
Binding model for collection like types.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected JsonBindingModel |
AbstractArraySerializer.containerModel |
|
protected JsonBindingModel |
AbstractSerializerBuilder.model |
Model of jsonb binding.
|
protected JsonBindingModel |
AbstractValueTypeSerializer.model |
| Modifier and Type | Method | Description |
|---|---|---|
protected JsonBindingModel |
AbstractArrayDeserializer.getModel() |
Binding model for current deserializer.
|
protected abstract JsonBindingModel |
AbstractContainerDeserializer.getModel() |
Binding model for current deserializer.
|
protected JsonBindingModel |
AbstractJsonpDeserializer.getModel() |
|
JsonBindingModel |
AbstractSerializerBuilder.getModel() |
Model of a for underlying instance.
|
protected JsonBindingModel |
AbstractValueTypeDeserializer.getModel() |
|
protected JsonBindingModel |
MapDeserializer.getModel() |
|
protected JsonBindingModel |
UserDeserializerDeserializer.getModel() |
Binding model for current deserializer.
|
JsonBindingModel |
AbstractItem.getWrapperModel() |
A wrapper model for this item.
|
JsonBindingModel |
AdaptedObjectDeserializer.getWrapperModel() |
|
JsonBindingModel |
AdaptedObjectSerializer.getWrapperModel() |
|
JsonBindingModel |
CurrentItem.getWrapperModel() |
Binding model of this item in wrapper.
|
JsonBindingModel |
OptionalObjectSerializer.getWrapperModel() |
| Modifier and Type | Method | Description |
|---|---|---|
protected Object |
AbstractContainerDeserializer.convertNullToOptionalEmpty(JsonBindingModel propertyModel,
Object value) |
If value is null and property model type is one of
Optional, OptionalDouble,
OptionalInt, or OptionalLong, value of corresponding Optional#empty()
is returned. |
AbstractValueTypeDeserializer<?> |
IDeserializerProvider.provideDeserializer(JsonBindingModel model) |
Provides new instance of deserializer.
|
AbstractValueTypeSerializer<?> |
ISerializerProvider.provideSerializer(JsonBindingModel model) |
Provides new instance of serializer.
|
T |
AbstractSerializerBuilder.withModel(JsonBindingModel model) |
Model of a field for underlying instance.
|
Copyright © 2017 Oracle Corporation. All rights reserved.