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