Package | Description |
---|---|
com.hazelcast.internal.json | |
com.hazelcast.internal.serialization.impl | |
com.hazelcast.json.internal |
This package contains JsonSchema related functionality
|
com.hazelcast.query.impl.getters |
Helper classes for extractions of values from object instances.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonArray
Represents a JSON array, an ordered collection of JSON values.
|
class |
JsonObject
Represents a JSON object, a set of name/value pairs, where the names are strings and the values
are JSON values.
|
Modifier and Type | Field and Description |
---|---|
static JsonValue |
JsonValue.FALSE
Deprecated.
Use
Json.FALSE instead |
static JsonValue |
Json.FALSE
Represents the JSON literal
false . |
static JsonValue |
JsonValue.NULL
Deprecated.
Use
Json.NULL instead |
static JsonValue |
Json.NULL
Represents the JSON literal
null . |
static JsonValue |
JsonValue.TRUE
Deprecated.
Use
Json.TRUE instead |
static JsonValue |
Json.TRUE
Represents the JSON literal
true . |
Modifier and Type | Method and Description |
---|---|
JsonValue |
JsonArray.get(int index)
Returns the value of the element at the specified position in this array.
|
JsonValue |
JsonObject.get(String name)
Returns the value of the member with the specified name in this object.
|
JsonValue |
JsonObject.Member.getValue()
Returns the value of this member.
|
JsonValue |
JsonReducedValueParser.parse(Reader reader)
Reads a single value from the given reader and parses it as
JsonValue.
|
static JsonValue |
Json.parse(Reader reader)
Reads the entire input from the given reader and parses it as JSON.
|
JsonValue |
JsonReducedValueParser.parse(Reader reader,
int buffersize)
Reads a single value from the given reader and parses it as JsonValue.
|
static JsonValue |
Json.parse(String string)
Parses the given input string as JSON.
|
static JsonValue |
JsonValue.readFrom(Reader reader)
Deprecated.
Use
Json.parse(Reader) instead |
static JsonValue |
JsonValue.readFrom(String text)
Deprecated.
Use
Json.parse(String) instead |
static JsonValue |
Json.value(boolean value)
Returns a JsonValue instance that represents the given
boolean value. |
static JsonValue |
Json.value(double value)
Returns a JsonValue instance that represents the given
double value. |
static JsonValue |
Json.value(float value)
Returns a JsonValue instance that represents the given
float value. |
static JsonValue |
Json.value(int value)
Returns a JsonValue instance that represents the given
int value. |
static JsonValue |
Json.value(long value)
Returns a JsonValue instance that represents the given
long value. |
static JsonValue |
Json.value(String string)
Returns a JsonValue instance that represents the given string.
|
static JsonValue |
JsonValue.valueOf(boolean value)
Deprecated.
Use
Json.value() instead |
static JsonValue |
JsonValue.valueOf(double value)
Deprecated.
Use
Json.value() instead |
static JsonValue |
JsonValue.valueOf(float value)
Deprecated.
Use
Json.value() instead |
static JsonValue |
JsonValue.valueOf(int value)
Deprecated.
Use
Json.value() instead |
static JsonValue |
JsonValue.valueOf(long value)
Deprecated.
Use
Json.value() instead |
static JsonValue |
JsonValue.valueOf(String string)
Deprecated.
Use
Json.value() instead |
Modifier and Type | Method and Description |
---|---|
Iterator<JsonValue> |
JsonArray.iterator()
Returns an iterator over the values of this array in document order.
|
List<JsonValue> |
JsonArray.values()
Returns a list of the values in this array in document order.
|
Modifier and Type | Method and Description |
---|---|
JsonArray |
JsonArray.add(JsonValue value)
Appends the specified JSON value to the end of this array.
|
JsonObject |
JsonObject.add(String name,
JsonValue value)
Appends a new member to the end of this object, with the specified name and the specified JSON
value.
|
JsonArray |
JsonArray.set(int index,
JsonValue value)
Replaces the element at the specified position in this array with the specified JSON value.
|
JsonObject |
JsonObject.set(String name,
JsonValue value)
Sets the value of the member with the specified name to the specified JSON value.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
DataInputNavigableJsonAdapter.parseValue(JsonReducedValueParser parser,
int offset) |
abstract JsonValue |
NavigableJsonInputAdapter.parseValue(JsonReducedValueParser parser,
int offset)
Tries to parse a single JsonValue from the input.
|
JsonValue |
StringNavigableJsonAdapter.parseValue(JsonReducedValueParser parser,
int offset) |
Modifier and Type | Method and Description |
---|---|
static JsonValue |
JsonSchemaHelper.findValueWithPattern(NavigableJsonInputAdapter input,
JsonSchemaNode schemaNode,
JsonPattern expectedPattern,
JsonPathCursor attributePath)
Extract the JsonValue that is stored in attributePath in input.
|
Modifier and Type | Method and Description |
---|---|
static Object |
AbstractJsonGetter.convertFromJsonValue(JsonValue value)
Converts a JsonValue object to its corresponding Java object.
|
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.