Package io.deephaven.json
Class BoolValue
Processes a JSON value as a
boolean.-
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 BoolValue.Builderbuilder()static BoolValuelenient()The lenient bool options.static BoolValuestandard()The standard bool options.static BoolValuestrict()The strict bool 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
-
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:
allowedTypesin classValue
-
walk
-