public class BigNumberCoercer extends Object implements IJsonFormatTypeCoercer
"big-integer" and "big-decimal" formats. Maps them to corresponding Java
classes BigInteger and BigDecimal. Note these are non-standard JSON Schema
formats, but they fill a void where an API must use "big" numbers instead of "integer"
or "number"._coercionProviders, _instances| Constructor and Description |
|---|
BigNumberCoercer() |
| 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, waitgetpublic 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 manifold.ext.rt.api.ICoercionProviderCopyright © 2024. All rights reserved.