Package io.deephaven.json
Class DoubleValue
Processes a JSON value as a
double.-
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 DoubleValue.Builderbuilder()static DoubleValuelenient()The lenient double options.static DoubleValuestandard()The standard double options.static DoubleValuestrict()The strict double options.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
-
DoubleValue
public DoubleValue()
-
-
Method Details
-
builder
-
lenient
The lenient double options. Allows missing and acceptsJsonValueTypes.numberLike().- Returns:
- the lenient double options
-
standard
The standard double options. Allows missing and acceptsJsonValueTypes.numberOrNull().- Returns:
- the standard double options
-
strict
The strict double options. Disallows missing and acceptsJsonValueTypes.number().- Returns:
- the strict double options
-
allowedTypes
The allowed types. Must be a subset ofJsonValueTypes.numberLike(). By default isJsonValueTypes.numberOrNull().- Specified by:
allowedTypesin classValue
-
walk
-