Package io.deephaven.json
Class StringValue
Processes a JSON value as a
String.-
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 StringValue.Builderbuilder()static StringValuelenient()The lenientStringoptions.static StringValuestandard()The standardStringoptions.static StringValuestrict()The strictStringoptions.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
-
StringValue
public StringValue()
-
-
Method Details
-
builder
-
lenient
The lenientStringoptions. Allows missing and acceptsJsonValueTypes.stringLike().- Returns:
- the lenient String options
-
standard
The standardStringoptions. Allows missing and acceptsJsonValueTypes.stringOrNull().- Returns:
- the standard String options
-
strict
The strictStringoptions. Disallows missing and acceptsJsonValueTypes.string().- Returns:
- the strict String options
-
allowedTypes
The allowed types. Must be a subset ofJsonValueTypes.stringLike(). By default isJsonValueTypes.stringOrNull().- Specified by:
allowedTypesin classValue
-
walk
-