Package io.deephaven.json
Class ByteValue
Processes a JSON value as a
byte
.-
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 ByteValue.Builder
builder()
static ByteValue
lenient()
The lenient byte options.static ByteValue
standard()
The standard byte options.static ByteValue
strict()
The strict byte 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
-
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:
allowedTypes
in classValue
-
walk
-