Package io.deephaven.json
Class ShortValue
Processes a JSON value as an
short.-
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 ShortValue.Builderbuilder()static ShortValuelenient()The lenient short options.static ShortValuestandard()The standard short options.static ShortValuestrict()The strict short 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
-
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:
allowedTypesin classValue
-
walk
-