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