Package io.deephaven.json
Class BoolValue
Processes a JSON value as a
boolean
.-
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 BoolValue.Builder
builder()
static BoolValue
lenient()
The lenient bool options.static BoolValue
standard()
The standard bool options.static BoolValue
strict()
The strict bool 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
-
BoolValue
public BoolValue()
-
-
Method Details
-
builder
-
lenient
The lenient bool options. Allows missing and acceptsJsonValueTypes.boolLike()
.- Returns:
- the lenient bool options
-
standard
The standard bool options. Allows missing and acceptsJsonValueTypes.boolOrNull()
.- Returns:
- the standard bool options
-
strict
The strict bool options. Disallows missing and acceptsJsonValueTypes.bool()
.- Returns:
- the strict bool options
-
allowedTypes
The allowed types. Must be a subset ofJsonValueTypes.boolLike()
. By default isJsonValueTypes.boolOrNull()
.- Specified by:
allowedTypes
in classValue
-
walk
-