Package io.deephaven.json
Class ObjectEntriesValue
java.lang.Object
io.deephaven.json.Value
io.deephaven.json.ValueRestrictedUniverseBase
io.deephaven.json.ObjectEntriesValue
Represents a JSON object of variable size with a given key and value type. For example, when a JSON object structure
represents a list of key-value entries (as opposed to a set of separately typed fields):
{
"foo": 1,
"bar": 42,
"baz": 3,
...
"xyz": 100
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.deephaven.json.Value
Value.Visitor<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe allowed types.static ObjectEntriesValue.Builderbuilder()key()The key options which must minimally supportJsonValueTypes.STRING.static ObjectEntriesValuestatic ObjectEntriesValueabstract Valuevalue()The value options.final <T> Twalk(Value.Visitor<T> visitor) Methods inherited from class io.deephaven.json.Value
allowMissing, array, field, skip
-
Constructor Details
-
ObjectEntriesValue
public ObjectEntriesValue()
-
-
Method Details
-
builder
-
standard
-
strict
-
key
The key options which must minimally supportJsonValueTypes.STRING. By default isStringValue.standard(). -
value
The value options. -
allowedTypes
The allowed types. Must be a subset ofJsonValueTypes.objectOrNull(). By default isJsonValueTypes.objectOrNull().- Specified by:
allowedTypesin classValue
-
walk
-