Package io.deephaven.json
Class LongValue
Processes a JSON value as a
long
.-
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 LongValue.Builder
builder()
static LongValue
lenient()
The lenient long options.static LongValue
standard()
The standard long options.static LongValue
strict()
The strict long 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
-
LongValue
public LongValue()
-
-
Method Details
-
builder
-
lenient
The lenient long options. Allows missing and acceptsJsonValueTypes.intLike()
.- Returns:
- the lenient long options
-
standard
The standard long options. Allows missing and acceptsJsonValueTypes.intOrNull()
.- Returns:
- the standard long options
-
strict
The strict long options. Disallows missing and acceptsJsonValueTypes.int_()
.- Returns:
- the strict long options
-
allowedTypes
The allowed types. Must be a subset ofJsonValueTypes.numberLike()
. By default isJsonValueTypes.intOrNull()
.- Specified by:
allowedTypes
in classValue
-
walk
-