| Package | Description |
|---|---|
| org.fossnova.json |
JSON Object Model (JOM) for representing and interacting with JSON objects and arrays.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
JsonArray
JSON array.
|
interface |
JsonBoolean
JSON boolean.
|
interface |
JsonNumber
JSON number.
|
interface |
JsonObject
JSON object.
|
interface |
JsonString
JSON string.
|
| Modifier and Type | Method and Description |
|---|---|
JsonValue |
JsonValue.clone()
Clones this JSON value.
|
JsonValue |
JsonObject.get(java.lang.String key)
Delegates the call to
Map.get(Object) method. |
JsonValue |
JsonObject.put(java.lang.String key,
java.lang.Boolean value)
Wraps passed value with JsonBoolean and delegates the call to
Map.put(Object, Object) method. |
JsonValue |
JsonObject.put(java.lang.String key,
java.lang.Number value)
Wraps passed value with JsonNumber and delegates the call to
Map.put(Object, Object) method. |
JsonValue |
JsonObject.put(java.lang.String key,
java.lang.String value)
Wraps passed value with JsonString and delegates the call to
Map.put(Object, Object) method. |
JsonValue |
JsonObject.putNull(java.lang.String key)
Delegates the call to
Map.put(Object, Object) method. |
abstract JsonValue |
JsonValueFactory.readFrom(java.io.InputStream input)
Creates either JSON array or object instance using
UTF-8 character set. |
abstract JsonValue |
JsonValueFactory.readFrom(java.io.InputStream data,
java.nio.charset.Charset charset)
Creates either JSON array or object instance using specified character set.
|
abstract JsonValue |
JsonValueFactory.readFrom(JsonReader input)
Creates either JSON array or object instance.
|
abstract JsonValue |
JsonValueFactory.readFrom(java.io.Reader input)
Creates either JSON array or object instance.
|
abstract JsonValue |
JsonValueFactory.readFrom(java.lang.String input)
Creates either JSON array or object instance.
|
JsonValue |
JsonObject.remove(java.lang.String key)
Delegates the call to
Map.remove(Object) method. |
JsonValue |
JsonArray.set(int index,
java.lang.Boolean value)
Wraps passed value with JsonBoolean and delegates the call to
List.set(int, Object) method. |
JsonValue |
JsonArray.set(int index,
JsonValue value)
Delegates the call to
List.set(int, Object) method. |
JsonValue |
JsonArray.set(int index,
java.lang.Number value)
Wraps passed value with JsonNumber and delegates the call to
List.set(int, Object) method. |
JsonValue |
JsonArray.set(int index,
java.lang.String value)
Wraps passed value with JsonString and delegates the call to
List.set(int, Object) method. |
JsonValue |
JsonArray.setNull(int index)
Delegates the call to
List.set(int, Object) method. |
JsonValue[] |
JsonArray.toArray()
Translates this JSON array to Java array.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JsonArray.add(int index,
JsonValue value)
Delegates the call to
List.add(int, Object) method. |
boolean |
JsonArray.add(JsonValue value)
Delegates the call to
List.add(Object) method. |
boolean |
JsonArray.contains(JsonValue value)
Delegates the call to
List.contains(Object) method. |
boolean |
JsonObject.containsValue(JsonValue value)
Delegates the call to
Map.containsValue(Object) method. |
int |
JsonArray.indexOf(JsonValue value)
Delegates the call to
List.indexOf(Object) method. |
int |
JsonArray.lastIndexOf(JsonValue value)
Delegates the call to
List.lastIndexOf(Object) method. |
boolean |
JsonArray.remove(JsonValue value)
Delegates the call to
List.remove(Object) method. |
JsonValue |
JsonArray.set(int index,
JsonValue value)
Delegates the call to
List.set(int, Object) method. |
Copyright © 2017 FOSS Nova Software Foundation. All rights reserved.