| Package | Description |
|---|---|
| com.dslplatform.json |
| Modifier and Type | Field and Description |
|---|---|
protected JsonReader.UnknownNumberParsing |
JsonReader.unknownNumbers |
| Modifier and Type | Method and Description |
|---|---|
static JsonReader.UnknownNumberParsing |
JsonReader.UnknownNumberParsing.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonReader.UnknownNumberParsing[] |
JsonReader.UnknownNumberParsing.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
DslJson.Settings<TContext> |
DslJson.Settings.unknownNumbers(JsonReader.UnknownNumberParsing unknownNumbers)
When processing JSON without a schema numbers can be deserialized in various ways:
- as longs and decimals
- as longs and doubles
- as decimals only
- as doubles only
Default is as long and BigDecimal
|
Copyright © 2023. All rights reserved.