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