Package io.deephaven.json
Class BigDecimalValue
Processes a JSON value as a
BigDecimal.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.deephaven.json.ValueSingleValueBase
ValueSingleValueBase.BuilderSpecial<T,V extends ValueSingleValueBase<T>, B extends ValueSingleValueBase.BuilderSpecial<T, V, B>> Nested classes/interfaces inherited from class io.deephaven.json.Value
Value.Visitor<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe allowed types.static BigDecimalValue.Builderbuilder()static BigDecimalValuelenient()The lenientBigDecimaloptions.static BigDecimalValuestandard()The standardBigDecimaloptions.static BigDecimalValuestrict()The strictBigDecimaloptions.final <T> Twalk(Value.Visitor<T> visitor) Methods inherited from class io.deephaven.json.ValueSingleValueBase
onMissing, onNullMethods inherited from class io.deephaven.json.Value
allowMissing, array, field, skip
-
Constructor Details
-
BigDecimalValue
public BigDecimalValue()
-
-
Method Details
-
builder
-
lenient
The lenientBigDecimaloptions. Allows missing and acceptsJsonValueTypes.numberLike().- Returns:
- the lenient BigDecimal options
-
standard
The standardBigDecimaloptions. Allows missing and acceptsJsonValueTypes.numberOrNull().- Returns:
- the standard BigDecimal options
-
strict
The strictBigDecimaloptions. Disallows missing and acceptsJsonValueTypes.number().- Returns:
- the strict BigDecimal options
-
allowedTypes
The allowed types. Must be a subset ofJsonValueTypes.numberLike(). By default isJsonValueTypes.numberOrNull().- Specified by:
allowedTypesin classValue
-
walk
-