Package io.deephaven.json
Class DoubleValue
Processes a JSON value as a
double
.-
Nested Class Summary
Nested 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
-
Method Summary
Modifier and TypeMethodDescriptionThe allowed types.static DoubleValue.Builder
builder()
static DoubleValue
lenient()
The lenient double options.static DoubleValue
standard()
The standard double options.static DoubleValue
strict()
The strict double options.final <T> T
walk
(Value.Visitor<T> visitor) Methods inherited from class io.deephaven.json.ValueSingleValueBase
onMissing, onNull
Methods 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:
allowedTypes
in classValue
-
walk
-