| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
alternativeNames
Multiple different incoming JSON properties can be deserialized into same POJO property.
|
Class |
converter
Custom property converter.
|
boolean |
hashMatch
Use only hash match for detecting incoming property.
|
boolean |
ignore
Should this property be read/written in JSON.
|
JsonAttribute.IncludePolicy |
includeToMinimal
Allows for fine tuning minimal serialization object format.
|
int |
index
Specify index order during serialization.
|
boolean |
mandatory
When mandatory is enabled, property must always exist in incoming JSON.
|
String |
name
Property name in JSON.
|
boolean |
nullable
Can this field be nullable.
|
CompiledJson.TypeSignature |
typeSignature
Abstract types used as properties by default include type signature information so they can be properly deserialized.
|
public abstract boolean ignore
public abstract boolean mandatory
public abstract boolean nullable
public abstract String name
public abstract int index
public abstract boolean hashMatch
public abstract String[] alternativeNames
public abstract Class converter
public abstract CompiledJson.TypeSignature typeSignature
public abstract JsonAttribute.IncludePolicy includeToMinimal
Copyright © 2023. All rights reserved.