A B C D E F G H I J M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractJsonExceptionBuilder<T extends JsonException> - Class in org.eclipse.ditto.json
-
Abstract base implementation for builders which create objects of subtypes of
JsonRuntimeException
. - AbstractJsonExceptionBuilder(String) - Constructor for class org.eclipse.ditto.json.AbstractJsonExceptionBuilder
-
Constructs a new
AbstractJsonExceptionBuilder
object. - add(boolean, boolean...) - Method in interface org.eclipse.ditto.json.JsonArray
-
Creates a new JSON array by appending the JSON representation of the specified boolean value to the end of this array.
- add(boolean, boolean...) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds at least one boolean value to the array to be built.
- add(double, double...) - Method in interface org.eclipse.ditto.json.JsonArray
-
Creates a new JSON array by appending the JSON representation of the specified double value to the end of this array.
- add(double, double...) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds at least one double value to the JSON array to be built.
- add(int, int...) - Method in interface org.eclipse.ditto.json.JsonArray
-
Creates a new JSON array by appending the JSON representation of the specified int value to the end of this array.
- add(int, int...) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds at least new int value to the JSON array to be built.
- add(long, long...) - Method in interface org.eclipse.ditto.json.JsonArray
-
Creates a new JSON array by appending the JSON representation of the specified long value to the end of this array.
- add(long, long...) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds at least one long value to the JSON array to be built.
- add(String, String...) - Method in interface org.eclipse.ditto.json.JsonArray
-
Creates a new JSON array by appending the JSON representation of the specified string value to the end of this array.
- add(String, String...) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds at least one string value to the array to be built.
- add(JsonValue, JsonValue...) - Method in interface org.eclipse.ditto.json.JsonArray
-
Creates a new JSON array by appending the specified value to the end of this array.
- add(JsonValue, JsonValue...) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds at least one
JsonValue
to the array to be built. - ADD - org.eclipse.ditto.json.JsonPatch.Operation
-
Used to define additions/insertions on a path.
- addAll(Iterable<? extends JsonValue>) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds all given values to the array to be built.
- addBooleans(Iterable<Boolean>) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds all given values to the array to be built.
- addDoubles(Iterable<Double>) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds all given values to the array to be built.
- addFieldDefinition(JsonFieldDefinition<?>, JsonFieldDefinition<?>...) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Adds the JSON pointer of each given
JsonFieldDefinition
to the field selector to be built. - addFieldDefinitions(Iterable<JsonFieldDefinition<?>>) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Adds the JSON pointer of each given
JsonFieldDefinition
s to the field selector to be built. - addFieldSelector(JsonFieldSelector) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Adds the Json Pointers from the given
JsonFieldSelector
s to the field selector to be built. - addFieldSelectorString(String) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Adds the JSON pointers contained in the new JSON field selector retrieved by parsing the given string.
- addFieldSelectorString(String, JsonParseOptions) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Adds the JSON pointers contained in the new JSON field selector retrieved by parsing the given string.
- addIntegers(Iterable<Integer>) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds all given values to the array to be built.
- addLeaf(JsonKey) - Method in interface org.eclipse.ditto.json.JsonPointer
-
Creates a new JSON pointer by adding a level to this JSON pointer.
- addLongs(Iterable<Long>) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds all given values to the array to be built.
- addPointer(JsonPointer, JsonPointer...) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Adds the given JSON pointer(s) to the field selector to be built.
- addPointers(Iterable<JsonPointer>) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Adds the given JSON pointers to the field selector to be built.
- addPointerString(String, String...) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Adds the given JSON pointer(s) (provided as string) to the field selector to be built.
- addPointerStrings(Iterable<String>) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Adds the given JSON pointers (provided as string) to the field selector to be built.
- addStrings(Iterable<String>) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Adds all given values to the array to be built.
- append(JsonPointer) - Method in interface org.eclipse.ditto.json.JsonPointer
-
Creates a new JSON pointer by appending the given pointer to this pointer.
- asArray() - Method in interface org.eclipse.ditto.json.JsonValue
-
Returns this JSON value as
JsonArray
, assuming that this value represents a JSON array. - asBoolean() - Method in interface org.eclipse.ditto.json.JsonValue
-
Returns this JSON value as a
boolean
value, assuming that this value is eithertrue
orfalse
. - asDouble() - Method in interface org.eclipse.ditto.json.JsonValue
-
Returns this JSON value as a
double
value, assuming that this value represents a JSON number. - asInt() - Method in interface org.eclipse.ditto.json.JsonValue
-
Returns this JSON value as an
int
value, assuming that this value represents a JSON number that can be interpreted as Javaint
. - asLong() - Method in interface org.eclipse.ditto.json.JsonValue
-
Returns this JSON value as an
long
value, assuming that this value represents a JSON number that can be interpreted as Javalong
. - asObject() - Method in interface org.eclipse.ditto.json.JsonValue
-
Returns this JSON value as
JsonObject
, assuming that this value represents a JSON object. - asPointer() - Method in interface org.eclipse.ditto.json.JsonKey
-
Returns this key as
JsonPointer
with one level. - asString() - Method in interface org.eclipse.ditto.json.JsonValue
-
Returns this JSON value as string, assuming that this value represents a JSON string.
B
- build() - Method in class org.eclipse.ditto.json.AbstractJsonExceptionBuilder
- build() - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Creates a new
JsonArray
containing all values which were added beforehand. - build() - Method in interface org.eclipse.ditto.json.JsonExceptionBuilder
-
Builds an instance of the target exception type using the provided data.
- build() - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Creates a new
JsonFieldSelector
instance containing all JSON Pointers which were added beforehand. - build() - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Creates a new
JsonObject
containing all values which were added beforehand. - build() - Method in interface org.eclipse.ditto.json.JsonParseOptionsBuilder
-
Creates new
JsonParseOptions
containing all values which were added beforehand.
C
- cause(Throwable) - Method in class org.eclipse.ditto.json.AbstractJsonExceptionBuilder
- cause(Throwable) - Method in interface org.eclipse.ditto.json.JsonExceptionBuilder
-
Sets the cause which led to the exception to be built.
- cause(Supplier<Throwable>) - Method in class org.eclipse.ditto.json.AbstractJsonExceptionBuilder
- cause(Supplier<Throwable>) - Method in interface org.eclipse.ditto.json.JsonExceptionBuilder
-
Sets the cause which led to the exception to be built.
- CborFactory - Interface in org.eclipse.ditto.json
-
This interface abstracts serialization/deserialization via CBOR.
- contains(CharSequence) - Method in interface org.eclipse.ditto.json.JsonObject
-
Indicates whether this JSON object contains a field at the key defined location.
- contains(JsonValue) - Method in interface org.eclipse.ditto.json.JsonArray
-
Indicates whether this JSON array contains the specified value.
- createCborRepresentation(List<JsonValue>, int) - Method in interface org.eclipse.ditto.json.CborFactory
-
Creates the CBOR representation of the passed JSON value list and the estimated required serialized size of it.
- createCborRepresentation(Map<String, JsonField>, int) - Method in interface org.eclipse.ditto.json.CborFactory
-
Creates the CBOR representation of the passed JSON fieldMap and the estimated required serialized size of it.
- createJsonArray(List<JsonValue>, byte[]) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Creates a
JsonArray
backed with an already serialized CBOR representation as the passed bytes. - createJsonObject(Map<String, JsonField>, byte[]) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Creates a
JsonObject
backed with an already serialized CBOR representation as the passed bytes. - cutLeaf() - Method in interface org.eclipse.ditto.json.JsonPointer
-
Creates a new pointer by removing the leaf element of this pointer.
D
- description(String) - Method in class org.eclipse.ditto.json.AbstractJsonExceptionBuilder
- description(String) - Method in interface org.eclipse.ditto.json.JsonExceptionBuilder
-
Sets a description with further information about the exception to be built.
- description(Supplier<String>) - Method in class org.eclipse.ditto.json.AbstractJsonExceptionBuilder
- description(Supplier<String>) - Method in interface org.eclipse.ditto.json.JsonExceptionBuilder
-
Sets a description with further information about the exception to be built.
- doBuild(String, String, String, Throwable, URI) - Method in class org.eclipse.ditto.json.AbstractJsonExceptionBuilder
-
This method must be implemented by subclasses.
- doBuild(String, String, String, Throwable, URI) - Method in class org.eclipse.ditto.json.JsonFieldSelectorInvalidException.Builder
- doBuild(String, String, String, Throwable, URI) - Method in class org.eclipse.ditto.json.JsonKeyInvalidException.Builder
- doBuild(String, String, String, Throwable, URI) - Method in class org.eclipse.ditto.json.JsonMissingFieldException.Builder
- doBuild(String, String, String, Throwable, URI) - Method in class org.eclipse.ditto.json.JsonParseException.Builder
- doBuild(String, String, String, Throwable, URI) - Method in class org.eclipse.ditto.json.JsonPointerInvalidException.Builder
- doBuild(String, String, String, Throwable, URI) - Method in class org.eclipse.ditto.json.JsonRuntimeException.Builder
E
- empty() - Static method in interface org.eclipse.ditto.json.JsonArray
-
Returns an empty
JsonArray
object. - empty() - Static method in interface org.eclipse.ditto.json.JsonObject
-
Returns an empty instance of
JsonObject
. - empty() - Static method in interface org.eclipse.ditto.json.JsonPointer
-
Returns an empty JSON pointer.
- emptyFieldSelector() - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new empty JSON field selector.
- emptyPointer() - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns an empty JSON pointer.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.json.JsonFieldSelectorInvalidException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.json.JsonKeyInvalidException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.json.JsonMissingFieldException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.json.JsonParseException
-
Error code of this exception.
- ERROR_CODE - Static variable in exception org.eclipse.ditto.json.JsonPointerInvalidException
-
Error code of this exception.
F
- fieldKeysToArray() - Static method in class org.eclipse.ditto.json.JsonCollectors
-
Returns a
Collector
that accumulates the key names of input JSON fields into a newJsonArray
. - fieldName(CharSequence) - Method in class org.eclipse.ditto.json.JsonMissingFieldException.Builder
-
Sets a message which points to the name of the missing field.
- fieldName(CharSequence, CharSequence...) - Method in class org.eclipse.ditto.json.JsonMissingFieldException.Builder
-
Sets a message which points to the name of the missing field within a hierarchy.
- fieldSelector(String) - Method in class org.eclipse.ditto.json.JsonFieldSelectorInvalidException.Builder
-
Sets a message which points to the invalid field selector.
- fieldsToObject() - Static method in class org.eclipse.ditto.json.JsonCollectors
-
Returns a
Collector
that accumulates the input JSON fields into a newJsonObject
. - fieldValuesToArray() - Static method in class org.eclipse.ditto.json.JsonCollectors
-
Returns a
Collector
that accumulates the values of input JSON fields into a newJsonArray
. - formatAsString() - Method in interface org.eclipse.ditto.json.JsonValue
-
Return this JSON value in string representation, without quoting if this is a JSON string already.
- fromString(String) - Static method in enum org.eclipse.ditto.json.JsonPatch.Operation
-
Defines the reverse operation of #toString method to be able to convert a string representation of an operation to its corresponding enumeration element.
G
- get(int) - Method in interface org.eclipse.ditto.json.JsonArray
-
Returns the JSON value at the specified position in this array.
- get(int) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Returns the JSON value at the specified position in the array to be built.
- get(int) - Method in interface org.eclipse.ditto.json.JsonPointer
-
Returns the JSON key at the specified level within this JSON pointer.
- get(JsonFieldDefinition<?>) - Method in interface org.eclipse.ditto.json.JsonObject
-
This is a convenience method which does the same as
JsonObject.get(JsonPointer)
. - get(JsonFieldSelector) - Method in interface org.eclipse.ditto.json.JsonObject
-
Returns a new JSON object which is composed from parts of this object.
- get(JsonPointer) - Method in interface org.eclipse.ditto.json.JsonObject
-
Returns a new JSON object containing the whole object hierarchy of the value which is defined by the given pointer.
- getDefinition() - Method in interface org.eclipse.ditto.json.JsonField
-
Returns this JSON field's definition (meta-information).
- getDescription() - Method in interface org.eclipse.ditto.json.JsonException
-
Returns the description which should be reported to the user.
- getDescription() - Method in exception org.eclipse.ditto.json.JsonRuntimeException
- getErrorCode() - Method in interface org.eclipse.ditto.json.JsonException
-
Returns the error code to uniquely identify this exception.
- getErrorCode() - Method in exception org.eclipse.ditto.json.JsonRuntimeException
- getField(CharSequence) - Method in interface org.eclipse.ditto.json.JsonObject
-
Returns the JsonField which contains both JsonKey and JsonValue for the passed key.
- getHref() - Method in interface org.eclipse.ditto.json.JsonException
-
Returns a link with which the user can find further information regarding this exception.
- getHref() - Method in exception org.eclipse.ditto.json.JsonRuntimeException
- getKey() - Method in interface org.eclipse.ditto.json.JsonField
-
Returns this JSON field's key.
- getKeyName() - Method in interface org.eclipse.ditto.json.JsonField
-
Returns the name of this JSON field's key.
- getKeys() - Method in interface org.eclipse.ditto.json.JsonObject
-
Returns a list of the keys in this JSON object in document order.
- getLeaf() - Method in interface org.eclipse.ditto.json.JsonPointer
-
Returns the leaf JSON key of this pointer.
- getLevelCount() - Method in interface org.eclipse.ditto.json.JsonPointer
-
Returns the number of levels of this JSON pointer.
- getMarkers() - Method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Returns an unordered and unmodifiable set of markers which provide this field with semantics, e.g.
- getOperation() - Method in interface org.eclipse.ditto.json.JsonPatch
-
Returns the JSON Patch operation type.
- getPath() - Method in interface org.eclipse.ditto.json.JsonPatch
-
Returns the path within the JSON Object on which the operation is defined.
- getPointer() - Method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Returns the JSON pointer which refers to this field.
- getPointers() - Method in interface org.eclipse.ditto.json.JsonFieldSelector
-
Returns the
JsonPointer
s on which this field selector is based. - getPrefixPointer(int) - Method in interface org.eclipse.ditto.json.JsonPointer
-
Returns a new JSON pointer including all JSON keys from the root until the passed in level.
- getRoot() - Method in interface org.eclipse.ditto.json.JsonPointer
-
Returns the root JSON key of this pointer.
- getSize() - Method in interface org.eclipse.ditto.json.JsonFieldSelector
-
Returns the size of this JSON field selector, i.
- getSize() - Method in interface org.eclipse.ditto.json.JsonValueContainer
-
Returns the size of this container, i.
- getSubPointer(int) - Method in interface org.eclipse.ditto.json.JsonPointer
-
Returns a new JSON pointer including all JSON keys from to the passed level and upwards.
- getUpperBoundForStringSize() - Method in interface org.eclipse.ditto.json.JsonValue
-
Returns an upper bound for the size (in chars), that the serialized version of this value might have.
- getValue() - Method in interface org.eclipse.ditto.json.JsonField
-
Returns this JSON field's value.
- getValue() - Method in interface org.eclipse.ditto.json.JsonPatch
-
Returns the value to be used for the specified operation on the given path, if applicable, or an empty
Optional
otherwise. - getValue(CharSequence) - Method in interface org.eclipse.ditto.json.JsonObject
-
Returns the value which is associated with the specified key.
- getValue(JsonFieldDefinition<T>) - Method in interface org.eclipse.ditto.json.JsonObject
-
Returns the plain Java typed value of the field whose location is defined by the JsonPointer of the specified JsonFieldDefinition.
- getValueOrThrow(JsonFieldDefinition<T>) - Method in interface org.eclipse.ditto.json.JsonObject
-
Returns the plain Java typed value of the field whose location is defined by the JsonPointer of the specified JsonFieldDefinition.
- getValueType() - Method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Returns the type of the value of this field.
H
- href(URI) - Method in class org.eclipse.ditto.json.AbstractJsonExceptionBuilder
- href(URI) - Method in interface org.eclipse.ditto.json.JsonExceptionBuilder
-
Sets a link to a resource which provides further information about the exception to be built.
- href(Supplier<URI>) - Method in class org.eclipse.ditto.json.AbstractJsonExceptionBuilder
- href(Supplier<URI>) - Method in interface org.eclipse.ditto.json.JsonExceptionBuilder
-
Sets a link to a resource which provides further information about the exception to be built.
I
- indexOf(JsonValue) - Method in interface org.eclipse.ditto.json.JsonArray
-
Returns the index of the first occurrence of the specified value in this array, or
-1
if this array does not contain the element. - isApplyUrlDecoding() - Method in interface org.eclipse.ditto.json.JsonParseOptions
-
Returns whether a string to be parsed should be URL decoded before parsing or not.
- isArray() - Method in interface org.eclipse.ditto.json.JsonValue
-
Indicates whether this value represents a JSON array.
- isBoolean() - Method in interface org.eclipse.ditto.json.JsonValue
-
Indicates whether this value represents a boolean JSON literal.
- isCborAvailable() - Method in interface org.eclipse.ditto.json.CborFactory
-
Determines whether the libraries providing CBOR serializations are available (classes can be loaded).
- isDouble() - Method in interface org.eclipse.ditto.json.JsonValue
-
Indicates whether this value is of type double.
- isEmpty() - Method in interface org.eclipse.ditto.json.JsonFieldSelector
-
Indicates whether this field selector is empty.
- isEmpty() - Method in interface org.eclipse.ditto.json.JsonPointer
-
Indicates whether this pointer does contain any elements or not.
- isEmpty() - Method in interface org.eclipse.ditto.json.JsonValueContainer
-
Indicates whether this container is empty.
- isInt() - Method in interface org.eclipse.ditto.json.JsonValue
-
Indicates whether this value is an integer.
- isLong() - Method in interface org.eclipse.ditto.json.JsonValue
-
Indicates whether this value is of type long.
- isMarkedAs(JsonFieldMarker, JsonFieldMarker...) - Method in interface org.eclipse.ditto.json.JsonField
-
Indicates whether this field is marked with at least all specified markers.
- isMarkedAs(JsonFieldMarker, JsonFieldMarker...) - Method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Indicates whether this definition is marked with at least all specified markers.
- isNull() - Method in interface org.eclipse.ditto.json.JsonValue
-
Indicates whether this value represents a
null
JSON literal. - isNumber() - Method in interface org.eclipse.ditto.json.JsonValue
-
Indicates whether this value represents a JSON number.
- isObject() - Method in interface org.eclipse.ditto.json.JsonValue
-
Indicates whether this value represents a JSON object.
- isString() - Method in interface org.eclipse.ditto.json.JsonValue
-
Indicates whether this value represents a JSON string.
- isValueNonNull() - Static method in interface org.eclipse.ditto.json.JsonField
-
Returns a
Predicate
for testing if the value of a JSON field is null.
J
- JsonArray - Interface in org.eclipse.ditto.json
-
Represents a JSON array.
- JsonArrayBuilder - Interface in org.eclipse.ditto.json
-
A mutable builder with a fluent API for a
JsonArray
. - JsonCollectors - Class in org.eclipse.ditto.json
-
This class provides implementations of
Collector
that implement various useful reduction operations, such as accumulating JSON fields into JSON objects etc. - JsonException - Interface in org.eclipse.ditto.json
-
The methods of this interface are common for all JSON related exceptions.
- JsonExceptionBuilder<T extends JsonException> - Interface in org.eclipse.ditto.json
-
A mutable builder for a
JsonException
. - JsonFactory - Class in org.eclipse.ditto.json
-
The main entry point for the Eclipse Ditto JSON API.
- JsonField - Interface in org.eclipse.ditto.json
-
Represents a single JSON field.
- JsonFieldDefinition<T> - Interface in org.eclipse.ditto.json
-
A
JsonFieldDefinition
is a formal description of a singleJsonField
. - JsonFieldMarker - Interface in org.eclipse.ditto.json
-
Marker interface to provide a common type for markers of JSON fields.
- JsonFieldSelector - Interface in org.eclipse.ditto.json
-
A
JsonFieldSelector
is basically a set ofJsonPointer
s. - JsonFieldSelectorBuilder - Interface in org.eclipse.ditto.json
-
A mutable builder with a fluent API for a
JsonFieldSelector
. - JsonFieldSelectorInvalidException - Exception in org.eclipse.ditto.json
-
Thrown if a field selector at was in a invalid format.
- JsonFieldSelectorInvalidException.Builder - Class in org.eclipse.ditto.json
-
A mutable builder for a
JsonPointerInvalidException
. - JsonKey - Interface in org.eclipse.ditto.json
-
Represents a JSON key.
- JsonKeyInvalidException - Exception in org.eclipse.ditto.json
-
Thrown if a
JsonKey
was in an invalid format. - JsonKeyInvalidException.Builder - Class in org.eclipse.ditto.json
-
A mutable builder for a
JsonKeyInvalidException
. - JsonMissingFieldException - Exception in org.eclipse.ditto.json
-
Thrown if an expected JSON field is not in the JSON.
- JsonMissingFieldException(CharSequence) - Constructor for exception org.eclipse.ditto.json.JsonMissingFieldException
-
Constructs a new
JsonMissingFieldException
object for the specified JSON key or pointer. - JsonMissingFieldException(JsonFieldDefinition<?>) - Constructor for exception org.eclipse.ditto.json.JsonMissingFieldException
-
Constructs a new
JsonMissingFieldException
object for the JsonPointer of the specified JsonFieldDefinition. - JsonMissingFieldException.Builder - Class in org.eclipse.ditto.json
-
A mutable builder for a
JsonMissingFieldException
. - JsonNumber - Interface in org.eclipse.ditto.json
-
This interface represents a JSON number.
- JsonObject - Interface in org.eclipse.ditto.json
-
Represents a JSON object.
- JsonObjectBuilder - Interface in org.eclipse.ditto.json
-
A mutable builder for a
JsonObject
. - JsonParseException - Exception in org.eclipse.ditto.json
-
Thrown if JSON could not be parsed because it was in an invalid format.
- JsonParseException(String) - Constructor for exception org.eclipse.ditto.json.JsonParseException
-
Constructs a new
JsonParseException
with the specified message. - JsonParseException.Builder - Class in org.eclipse.ditto.json
-
A mutable builder for a
JsonParseException
. - JsonParseOptions - Interface in org.eclipse.ditto.json
-
Holding options about how to parse a Json type (JsonObject, JsonPointer, ...) from a String.
- JsonParseOptionsBuilder - Interface in org.eclipse.ditto.json
-
A mutable builder for a
JsonParseOptions
. - JsonPatch - Interface in org.eclipse.ditto.json
-
Defines a JSON Patch which can be used to specify modifications on JSON Objects.
- JsonPatch.JsonFields - Class in org.eclipse.ditto.json
-
An enumeration of the known
JsonField
s of a Thing. - JsonPatch.Operation - Enum in org.eclipse.ditto.json
-
Enumeration defining the supported JSON Patch operation types.
- jsonPointer(CharSequence) - Method in class org.eclipse.ditto.json.JsonKeyInvalidException.Builder
-
Sets a message which points to the name of the invalid JSON key.
- jsonPointer(CharSequence) - Method in class org.eclipse.ditto.json.JsonPointerInvalidException.Builder
-
Sets a message which points to the name of the invalid JSON pointer.
- JsonPointer - Interface in org.eclipse.ditto.json
-
A JSON pointer defines a path within a JSON object.
- JsonPointerInvalidException - Exception in org.eclipse.ditto.json
-
Thrown if a
JsonPointer
was in an invalid format. - JsonPointerInvalidException.Builder - Class in org.eclipse.ditto.json
-
A mutable builder for a
JsonPointerInvalidException
. - JsonRuntimeException - Exception in org.eclipse.ditto.json
-
Common base type of all unchecked JSON exceptions.
- JsonRuntimeException(String, String, String, Throwable, URI) - Constructor for exception org.eclipse.ditto.json.JsonRuntimeException
-
Constructs a new
JsonRuntimeException
object with the specified values. - JsonRuntimeException.Builder - Class in org.eclipse.ditto.json
-
A mutable builder for a
JsonRuntimeException
. - JsonValue - Interface in org.eclipse.ditto.json
-
Represents a JSON value.
- JsonValueContainer<T> - Interface in org.eclipse.ditto.json
-
Abstract representation of a data structure which somehow holds JSON values.
M
- mapValue(JsonValue) - Method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Maps the specified JsonValue to the value type of this field definition.
- mergeJsonValues(JsonValue, JsonValue) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Merge two JSON values into one JSON value.
- message(String) - Method in class org.eclipse.ditto.json.AbstractJsonExceptionBuilder
- message(String) - Method in interface org.eclipse.ditto.json.JsonExceptionBuilder
-
Sets the detail message of the exception to be built.
- message(Supplier<String>) - Method in class org.eclipse.ditto.json.AbstractJsonExceptionBuilder
- message(Supplier<String>) - Method in interface org.eclipse.ditto.json.JsonExceptionBuilder
-
Sets the detail message of the exception to be built.
N
- newArray() - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new empty JSON array.
- newArray(String) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Creates a new JSON array from the given string.
- newArrayBuilder() - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new mutable builder for a
JsonArray
. - newArrayBuilder(Iterable<? extends JsonValue>) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new mutable builder for a
JsonArray
which is already initialised with the given values. - newBooleanFieldDefinition(CharSequence, JsonFieldMarker...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new definition of a JSON field which contains a boolean value.
- newBuilder() - Static method in interface org.eclipse.ditto.json.JsonArray
-
Returns a new mutable builder with a fluent API for a
JsonArray
. - newBuilder() - Static method in exception org.eclipse.ditto.json.JsonFieldSelectorInvalidException
-
Returns a builder for fluently creating instances of
JsonParseException
s.. - newBuilder() - Static method in exception org.eclipse.ditto.json.JsonKeyInvalidException
-
Returns a builder for fluently creating instances of
JsonKeyInvalidException
s. - newBuilder() - Static method in exception org.eclipse.ditto.json.JsonMissingFieldException
-
Returns a builder for fluently creating instances of
JsonMissingFieldException
s.. - newBuilder() - Static method in interface org.eclipse.ditto.json.JsonObject
-
Returns a new mutable builder with a fluent API for a
JsonObject
. - newBuilder() - Static method in exception org.eclipse.ditto.json.JsonParseException
-
Returns a builder for fluently creating instances of
JsonParseException
s.. - newBuilder() - Static method in interface org.eclipse.ditto.json.JsonParseOptions
-
Returns a new mutable builder for
JsonParseOptions
. - newBuilder() - Static method in exception org.eclipse.ditto.json.JsonPointerInvalidException
-
Returns a builder for fluently creating instances of
JsonPointerInvalidException
s.. - newBuilder(String) - Static method in exception org.eclipse.ditto.json.JsonRuntimeException
-
Returns a builder for fluently creating instances of
JsonRuntimeException
s.. - newBuilderForConsecutiveSlashes(CharSequence) - Static method in exception org.eclipse.ditto.json.JsonPointerInvalidException
-
Returns a new builder already containing a generic message that consecutive slashes are not supported for JSON pointers.
- newBuilderForOuterSlashes(CharSequence) - Static method in exception org.eclipse.ditto.json.JsonPointerInvalidException
-
Returns a new builder already containing a generic message that leading or trailing slashes are not supported for JSON pointers.
- newBuilderWithDescription(CharSequence, String) - Static method in exception org.eclipse.ditto.json.JsonKeyInvalidException
-
Returns a new builder containing the given message for the given JSON key.
- newBuilderWithoutDescription(CharSequence) - Static method in exception org.eclipse.ditto.json.JsonKeyInvalidException
-
Returns a new builder already containing a default message that the JSON key is no valid.
- newDoubleFieldDefinition(CharSequence, JsonFieldMarker...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new definition of a JSON field which contains an double value.
- newField(JsonKey, JsonValue) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new JSON field based on the specified key value pair.
- newField(JsonKey, JsonValue, JsonFieldDefinition<?>) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new JSON field based on the specified key value pair and definition.
- newFieldSelector(CharSequence, CharSequence...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new JSON field selector which is based on the given
JsonPointer
(s). - newFieldSelector(Iterable<JsonPointer>) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new JSON field selector which is based on the given set of
JsonPointer
s. - newFieldSelector(String, JsonParseOptions) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new JSON field selector by parsing the given string.
- newFieldSelector(JsonFieldDefinition<?>, JsonFieldDefinition<?>...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new JSON field selector which is based on pointers of the given
JsonFieldDefinition
(s). - newFieldSelector(JsonPointer, JsonPointer...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new JSON field selector which is based on the given
JsonPointer
(s). - newFieldSelectorBuilder() - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new JSON field selector builder for building JSON field selectors.
- newInstance(CharSequence, CharSequence...) - Static method in interface org.eclipse.ditto.json.JsonFieldSelector
-
Returns a new JSON field selector which is based on the given
JsonPointer
(s). - newInstance(CharSequence, JsonValue) - Static method in interface org.eclipse.ditto.json.JsonField
-
Returns a new JSON field based on the specified key value pair.
- newInstance(CharSequence, JsonValue, JsonFieldDefinition<?>) - Static method in interface org.eclipse.ditto.json.JsonField
-
Returns a new JSON field based on the specified key value pair and definition.
- newInstance(JsonPatch.Operation, JsonPointer, JsonValue) - Static method in interface org.eclipse.ditto.json.JsonPatch
-
Returns a new JSON Patch which can be used to specify modifications on JSON Objects.
- newIntFieldDefinition(CharSequence, JsonFieldMarker...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new definition of a JSON field which contains an int value.
- newJsonArrayFieldDefinition(CharSequence, JsonFieldMarker...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new definition of a JSON field which contains an
JsonArray
value. - newJsonObjectFieldDefinition(CharSequence, JsonFieldMarker...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new definition of a JSON field which contains an
JsonObject
value. - newJsonValueFieldDefinition(CharSequence, JsonFieldMarker...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new definition of a JSON field which contains an
JsonValue
value. - newKey(CharSequence) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns JSON key for the given character sequence.
- newLongFieldDefinition(CharSequence, JsonFieldMarker...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new definition of a JSON field which contains an long value.
- newObject() - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns an empty JSON object.
- newObject(byte[]) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Creates a JSON object from the given byte array.
- newObject(Iterable<JsonField>) - Static method in class org.eclipse.ditto.json.JsonFactory
- newObject(String) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Creates a JSON object from the given string.
- newObject(Map<JsonKey, JsonValue>) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Creates a JSON object from the given key-value pairs aka fields.
- newObject(JsonObject, JsonObject) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Merge two JSON objects into one JSON object.
- newObject(JsonPointer, JsonValue) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Creates a JSON object from the given
path
andvalue
. - newObject(JsonValue) - Static method in class org.eclipse.ditto.json.JsonFactory
- newObjectBuilder() - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new mutable builder for a
JsonObject
. - newObjectBuilder(Iterable<JsonField>) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new mutable builder for the specified
JsonField
s. - newParseOptionsBuilder() - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new mutable builder for
JsonParseOptions
. - newPatch(String) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new JSON Patch created from the given string.
- newPatch(JsonPatch.Operation, JsonPointer, JsonValue) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new JSON Patch which can be used to specify modifications on JSON Objects.
- newPointer(CharSequence) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Parses the given string to obtain a new JSON pointer.
- newPointer(JsonKey, JsonKey...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new JSON pointer which consist of the specified hierarchical keys..
- newStringFieldDefinition(CharSequence, JsonFieldMarker...) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a new definition of a JSON field which contains a String value.
- newValue(boolean) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a JSON literal that represents the given
boolean
value. - newValue(double) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a JSON number that represents the given
double
value. - newValue(int) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a JSON number that represents the given
int
value. - newValue(long) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a JSON number that represents the given
long
value. - newValue(String) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a JsonValue that represents the given Java string as JSON string.
- nextLevel() - Method in interface org.eclipse.ditto.json.JsonPointer
-
Goes to the next sub level of this pointer.
- nullArray() - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a JSON NULL literal which is typed as JSON array.
- nullLiteral() - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a JSON literal which represents
null
. - nullLiteral() - Static method in interface org.eclipse.ditto.json.JsonValue
-
Returns a JSON literal, which represents
null
. - nullObject() - Static method in class org.eclipse.ditto.json.JsonFactory
-
Returns a JSON NULL literal which is typed as JSON object.
O
- objectsToObject() - Static method in class org.eclipse.ditto.json.JsonCollectors
-
Returns a
Collector
that accumulates the input JSON objects into a newJsonObject
. - of(boolean) - Static method in interface org.eclipse.ditto.json.JsonValue
-
Returns a JSON literal that represents the given
boolean
value. - of(byte[]) - Static method in interface org.eclipse.ditto.json.JsonObject
-
Creates a
JsonObject
from the given byte array. - of(double) - Static method in interface org.eclipse.ditto.json.JsonValue
-
Returns a JSON number that represents the given
double
value. - of(int) - Static method in interface org.eclipse.ditto.json.JsonValue
-
Returns a JSON number that represents the given
int
value. - of(long) - Static method in interface org.eclipse.ditto.json.JsonValue
-
Returns a JSON number that represents the given
long
value. - of(CharSequence) - Static method in interface org.eclipse.ditto.json.JsonKey
-
Returns JSON key for the given character sequence.
- of(CharSequence) - Static method in interface org.eclipse.ditto.json.JsonPointer
-
Parses the given string to obtain a new JSON pointer.
- of(Iterable<T>) - Static method in interface org.eclipse.ditto.json.JsonArray
-
Returns an instance of
JsonArray
which contains the given values. - of(String) - Static method in interface org.eclipse.ditto.json.JsonArray
-
Creates a new
JsonArray
from the given string. - of(String) - Static method in interface org.eclipse.ditto.json.JsonObject
-
Creates a
JsonObject
from the given string. - of(String) - Static method in interface org.eclipse.ditto.json.JsonValue
-
Returns a JsonValue that represents the given Java string as JSON string.
- of(T) - Static method in interface org.eclipse.ditto.json.JsonValue
-
Tries to guess the appropriate JsonValue for the given Java value.
- of(T, T...) - Static method in interface org.eclipse.ditto.json.JsonArray
-
Returns an instance of
JsonArray
which contains the given values. - ofBoolean(CharSequence, JsonFieldMarker...) - Static method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Returns a new JSON field definition for a
boolean
value. - ofDouble(CharSequence, JsonFieldMarker...) - Static method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Returns a new JSON field definition for a
double
value. - ofInt(CharSequence, JsonFieldMarker...) - Static method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Returns a new JSON field definition for an
int
value. - ofJsonArray(CharSequence, JsonFieldMarker...) - Static method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Returns a new JSON field definition for a
JsonArray
value. - ofJsonObject(CharSequence, JsonFieldMarker...) - Static method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Returns a new JSON field definition for a
JsonObject
value. - ofJsonValue(CharSequence, JsonFieldMarker...) - Static method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Returns a new JSON field definition for a
JsonValue
value. - ofLong(CharSequence, JsonFieldMarker...) - Static method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Returns a new JSON field definition for a
long
value. - ofString(CharSequence, JsonFieldMarker...) - Static method in interface org.eclipse.ditto.json.JsonFieldDefinition
-
Returns a new JSON field definition for a String value.
- OPERATION - Static variable in class org.eclipse.ditto.json.JsonPatch.JsonFields
-
JSON field containing the JSON Patch's operation as
String
. - org.eclipse.ditto.json - package org.eclipse.ditto.json
-
Ditto JSON is a general purpose JSON library.
P
- parseJsonFieldSelector(String) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Parse a nullable string as JSON field selector.
- PATH - Static variable in class org.eclipse.ditto.json.JsonPatch.JsonFields
-
JSON field containing the JSON Patch's path as
String
.
R
- readFrom(byte[]) - Method in interface org.eclipse.ditto.json.CborFactory
-
Deserializes a
JsonValue
by parsing the passedbytes
with CBOR. - readFrom(byte[], int, int) - Method in interface org.eclipse.ditto.json.CborFactory
-
Deserializes a
JsonValue
by parsing the passedbytes
with CBOR applying aoffset
andlength
. - readFrom(Reader) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Reads the entire input stream from the specified reader and parses it as JSON value.
- readFrom(String) - Static method in class org.eclipse.ditto.json.JsonFactory
-
Reads the given string and creates a JSON value based on the read data.
- readFrom(ByteBuffer) - Method in interface org.eclipse.ditto.json.CborFactory
-
Deserializes a
JsonValue
by parsing the passedbyteBuffer
with CBOR. - remove(int) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Removes the value at the specified position from the array to be built.
- remove(CharSequence) - Method in interface org.eclipse.ditto.json.JsonObject
-
Removes the JSON field to which the given pointer points to.
- remove(CharSequence) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Removes the field from the JSON object to be built which is associated with the given key.
- remove(JsonFieldDefinition<?>) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Removes the field from the JSON object to be built which is associated with the pointer of the specified JSON field definition.
- remove(JsonValue) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Removes the given value from the array to be built.
- REMOVE - org.eclipse.ditto.json.JsonPatch.Operation
-
Used to define deletions on a path.
- removeAll() - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Removes all fields from the JSON object to be built.
- removeFieldDefinition(JsonFieldDefinition<?>) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Removes the JSON Pointer of the given JSON field definition from the field selector to be built.
- removeFieldDefinitions(Iterable<JsonFieldDefinition<?>>) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Removes the JSON Pointers of the given JSON field definitions from the field selector to be built.
- removePointer(JsonPointer) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Removes the given JSON Pointer from the field selector to be built.
- removePointers(Iterable<JsonPointer>) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Removes the given JSON Pointers from the field selector to be built.
- removePointerString(String) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Removes the JSON Pointer with the given String representation from the field selector to be built.
- removePointerStrings(Iterable<String>) - Method in interface org.eclipse.ditto.json.JsonFieldSelectorBuilder
-
Removes the JSON Pointers with the given String representations from the field selector to be built.
- REPLACE - org.eclipse.ditto.json.JsonPatch.Operation
-
Used to change values assigned to a path.
S
- SerializationContext - Interface in org.eclipse.ditto.json
-
Bundles state and configuration for serialization.
- set(int, boolean) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Replaces the value at the specified position in the array to be built.
- set(int, double) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Replaces the value at the specified position in the array to be built.
- set(int, int) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Replaces the value at the specified position in the array to be built.
- set(int, long) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Replaces the value at the specified position in the array to be built.
- set(int, String) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Replaces the value at the specified position in the array to be built.
- set(int, JsonValue) - Method in interface org.eclipse.ditto.json.JsonArrayBuilder
-
Replaces the value at the specified position in the array to be built.
- set(CharSequence, boolean) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new boolean value field to the JSON object to be built.
- set(CharSequence, boolean, Predicate<JsonField>) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new boolean value field to the JSON object to be built if the specified predicate evaluates to
true
. - set(CharSequence, double) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new double value field to the JSON object to be built.
- set(CharSequence, double, Predicate<JsonField>) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new double value field to the JSON object to be built if the specified predicate evaluates to
true
. - set(CharSequence, int) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new int value field to the JSON object to be built.
- set(CharSequence, int, Predicate<JsonField>) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new int value field to the JSON object to be built if the specified predicate evaluates to
true
. - set(CharSequence, long) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new long value field to the JSON object to be built.
- set(CharSequence, long, Predicate<JsonField>) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new long value field to the JSON object to be built if the specified predicate evaluates to
true
. - set(CharSequence, String) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new string value field to the JSON object to be built.
- set(CharSequence, String, Predicate<JsonField>) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new string value field to the JSON object to be built if the specified predicate evaluates to
true
. - set(CharSequence, JsonValue) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new
JsonValue
field to the JSON object to be built. - set(CharSequence, JsonValue, Predicate<JsonField>) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new
JsonValue
field to the JSON object to be built if the specified predicate evaluates totrue
. - set(JsonField) - Method in interface org.eclipse.ditto.json.JsonObject
-
Sets the specified field to a copy of this object.
- set(JsonField) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets the specified field to the JSON object to be built.
- set(JsonFieldDefinition<T>, T) - Method in interface org.eclipse.ditto.json.JsonObject
-
Sets the specified value to a field which is defined by the pointer of the given field definition on a copy of this object.
- set(JsonFieldDefinition<T>, T) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new field to the JSON object to be built.
- set(JsonFieldDefinition<T>, T, Predicate<JsonField>) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets a new field to the JSON object to be built if the specified predicate evaluates to
true
. - set(JsonField, Predicate<JsonField>) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets the specified field to the JSON object to be built if the specified predicate evaluates to
true
. - setAll(Iterable<JsonField>) - Method in interface org.eclipse.ditto.json.JsonObject
-
Creates a new JSON object by setting the given JSON fields to this object.
- setAll(Iterable<JsonField>) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets the given
JsonField
s to the JSON object to be built. - setAll(Iterable<JsonField>, Predicate<JsonField>) - Method in interface org.eclipse.ditto.json.JsonObjectBuilder
-
Sets the given
JsonField
s to the JSON object to be built. - setValue(CharSequence, boolean) - Method in interface org.eclipse.ditto.json.JsonObject
-
Creates a new JSON object by setting a new JSON field with the specified key and the JSON representation of the specified
boolean
value to the new object. - setValue(CharSequence, double) - Method in interface org.eclipse.ditto.json.JsonObject
-
Creates a new JSON object by setting a new JSON field with the specified key and the JSON representation of the specified
double
value to the new object. - setValue(CharSequence, int) - Method in interface org.eclipse.ditto.json.JsonObject
-
Creates a new JSON object by setting a new JSON field with the specified key and the JSON representation of the specified
int
value to the new object. - setValue(CharSequence, long) - Method in interface org.eclipse.ditto.json.JsonObject
-
Creates a new JSON object by setting a new JSON field with the specified key and the JSON representation of the specified
long
value to the new object. - setValue(CharSequence, String) - Method in interface org.eclipse.ditto.json.JsonObject
-
Creates a new JSON object by setting a new JSON field with the specified key and the JSON representation of the specified
String
value to the new object. - setValue(CharSequence, JsonValue) - Method in interface org.eclipse.ditto.json.JsonObject
-
Creates a new JSON object by setting a new JSON field with the specified key and the specified JSON value to the new object.
- stream() - Method in interface org.eclipse.ditto.json.JsonValueContainer
-
Returns a sequential
Stream
with the values of this container as its source.
T
- toBuilder() - Method in interface org.eclipse.ditto.json.JsonArray
-
Returns a new mutable builder with a fluent API for a
JsonArray
. - toBuilder() - Method in interface org.eclipse.ditto.json.JsonObject
-
Returns a new mutable builder with a fluent API for a
JsonObject
. - toByteArray(JsonValue) - Method in interface org.eclipse.ditto.json.CborFactory
-
Serializes a CBOR byte array from the passed
jsonValue
. - toByteBuffer(JsonValue) - Method in interface org.eclipse.ditto.json.CborFactory
-
Serializes a CBOR ByteBuffer from the passed
jsonValue
. - toFieldSelector() - Method in interface org.eclipse.ditto.json.JsonPointer
-
Returns a new
JsonFieldSelector
containing this pointer as its only element. - toJson() - Method in interface org.eclipse.ditto.json.JsonPatch
-
Returns the JSON object representation of this JSON Patch.
- toString() - Method in interface org.eclipse.ditto.json.JsonFieldSelector
-
This method has two possible outcomes: If the original field selector string is available it will be simply returned. Otherwise a typical string representation of this object is returned.
- toString() - Method in enum org.eclipse.ditto.json.JsonPatch.Operation
- toString() - Method in interface org.eclipse.ditto.json.JsonPatch
-
Returns the JSON string for this JSON Patch in its minimal form, without any additional whitespace.
- toString() - Method in interface org.eclipse.ditto.json.JsonPointer
-
The string representation of this pointer, i.
- toString() - Method in interface org.eclipse.ditto.json.JsonValue
-
Returns the JSON string for this value in its minimal form, without any additional whitespace.
V
- VALUE - Static variable in class org.eclipse.ditto.json.JsonPatch.JsonFields
-
JSON field containing the JSON Patch's value as
JsonValue
. - valueOf(String) - Static method in enum org.eclipse.ditto.json.JsonPatch.Operation
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.eclipse.ditto.json.JsonPatch.Operation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valuesToArray() - Static method in class org.eclipse.ditto.json.JsonCollectors
-
Returns a
Collector
that accumulates the input JSON values into a newJsonArray
.
W
- withoutUrlDecoding() - Method in interface org.eclipse.ditto.json.JsonParseOptionsBuilder
-
Configures NOT to URL decode the String to parse.
- withUrlDecoding() - Method in interface org.eclipse.ditto.json.JsonParseOptionsBuilder
-
Configures to URL decode the String to parse.
- writeBoolean(boolean) - Method in interface org.eclipse.ditto.json.SerializationContext
-
Writes the passed boolean
state
to the serialization context. - writeCachedElement(byte[]) - Method in interface org.eclipse.ditto.json.SerializationContext
-
Allows the caller to directly embed cached data in the Buffer.
- writeFieldName(String) - Method in interface org.eclipse.ditto.json.SerializationContext
-
Writes the passed string
name
(as field name) to the serialization context. - writeKeyAndValue(SerializationContext) - Method in interface org.eclipse.ditto.json.JsonField
-
Writes this JsonField's key and value into the provided serialization context.
- writeNull() - Method in interface org.eclipse.ditto.json.SerializationContext
-
Writes
null
to the serialization context. - writeNumber(double) - Method in interface org.eclipse.ditto.json.SerializationContext
-
Writes the passed double
number
to the serialization context. - writeNumber(float) - Method in interface org.eclipse.ditto.json.SerializationContext
-
Writes the passed float
number
to the serialization context. - writeNumber(int) - Method in interface org.eclipse.ditto.json.SerializationContext
-
Writes the passed long
number
to the serialization context. - writeNumber(long) - Method in interface org.eclipse.ditto.json.SerializationContext
-
Writes the passed long
number
to the serialization context. - writeString(String) - Method in interface org.eclipse.ditto.json.SerializationContext
-
Writes the passed string
text
to the serialization context. - writeToByteBuffer(JsonValue, ByteBuffer) - Method in interface org.eclipse.ditto.json.CborFactory
-
Serializes the passed
jsonValue
into the passedbyteBuffer
applying CBOR. - writeValue(SerializationContext) - Method in interface org.eclipse.ditto.json.JsonValue
-
Writes this JsonValue into the provided serialization context.
All Classes All Packages