public interface UnknownFieldsSupport
| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<ParameterDefinition> |
createUnknownFields(MappingContext mappingContext)
Creates an instance of
ParameterDefinition that can be used to generate
a field of type Map to store unknown fields during the marshaling
and unmarshalling of a JSON document |
default java.util.Optional<ParameterDefinition> createUnknownFields(MappingContext mappingContext)
ParameterDefinition that can be used to generate
a field of type Map to store unknown fields during the marshaling
and unmarshalling of a JSON documentmappingContext - The context of the mapping process.MappingContext.isSupportUnknownFields() is true, it returns a monad containing
the instance of ParameterDefinition. Optional.empty() otherwise.