public class DefaultCoercer extends Object implements IJsonFormatTypeCoercer
_coercionProviders, _instances
Constructor and Description |
---|
DefaultCoercer() |
Modifier and Type | Method and Description |
---|---|
Object |
coerce(Object value,
Type type) |
Map<String,Class<?>> |
getFormats() |
Object |
toBindingValue(Object value) |
clone, emptyArray, equals, finalize, getClass, hashCode, jailbreak, notify, notifyAll, toString, wait, wait, wait
get
public Map<String,Class<?>> getFormats()
getFormats
in interface IJsonFormatTypeCoercer
"date-time"->LocalDateTime.class
to be
referenced in Json Schema "format"
types.public Object coerce(Object value, Type type)
coerce
in interface ICoercionProvider
public Object toBindingValue(Object value)
toBindingValue
in interface ICoercionProvider
Copyright © 2024. All rights reserved.