Package io.deephaven.json
Class LongValue
Processes a JSON value as a
long.-
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 LongValue.Builderbuilder()static LongValuelenient()The lenient long options.static LongValuestandard()The standard long options.static LongValuestrict()The strict long 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
-
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:
allowedTypesin classValue
-
walk
-