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 classes/interfaces inherited from class io.deephaven.json.Value
Value.Visitor<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe allowed types.static ObjectEntriesValue.Builder
builder()
key()
The key options which must minimally supportJsonValueTypes.STRING
.static ObjectEntriesValue
static ObjectEntriesValue
abstract Value
value()
The value options.final <T> T
walk
(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:
allowedTypes
in classValue
-
walk
-