Package | Description |
---|---|
org.apache.jena.atlas.json | |
org.apache.jena.atlas.json.io |
Modifier and Type | Class and Description |
---|---|
class |
JsonArray |
class |
JsonBoolean |
class |
JsonNull |
class |
JsonNumber |
class |
JsonObject |
class |
JsonPrimitive |
class |
JsonString |
Modifier and Type | Method and Description |
---|---|
static JsonValue |
JsonAccess.access(JsonValue obj,
Object... path) |
static JsonValue |
JsonAccess.accessPath(JsonValue obj,
String... path) |
JsonValue |
JsonArray.get(int index) |
JsonValue |
JsonObject.get(String key) |
static JsonValue |
JSON.parseAny(InputStream input)
Parse any JSON value, not just an object, from an input stream
|
static JsonValue |
JSON.parseAny(String string)
Parse any JSON value, not just an object, from a file
|
JsonValue |
JsonObject.put(String key,
boolean b) |
JsonValue |
JsonObject.put(String key,
JsonValue value) |
JsonValue |
JsonObject.put(String key,
long value) |
JsonValue |
JsonObject.put(String key,
String value) |
static JsonValue |
JSON.readAny(String filename)
Read any JSON value, not just an object, from a file
|
JsonValue |
JsonArray.remove(int index) |
JsonValue |
JsonObject.remove(Object key) |
JsonValue |
JsonArray.set(int index,
JsonValue element) |
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,JsonValue>> |
JsonObject.entrySet() |
Iterator<JsonValue> |
JsonArray.iterator() |
ListIterator<JsonValue> |
JsonArray.listIterator() |
ListIterator<JsonValue> |
JsonArray.listIterator(int index) |
List<JsonValue> |
JsonArray.subList(int fromIndex,
int toIndex) |
Collection<JsonValue> |
JsonObject.values() |
Modifier and Type | Method and Description |
---|---|
static JsonValue |
JsonAccess.access(JsonValue obj,
Object... path) |
static JsonValue |
JsonAccess.accessPath(JsonValue obj,
String... path) |
void |
JsonArray.add(int index,
JsonValue element) |
boolean |
JsonArray.add(JsonValue e) |
JsonValue |
JsonObject.put(String key,
JsonValue value) |
JsonValue |
JsonArray.set(int index,
JsonValue element) |
static void |
JSON.write(IndentedWriter output,
JsonValue jValue)
Write out a JSON value - pass a JSON Object to get legal exchangeable JSON
|
static void |
JSON.write(JsonValue jValue)
Write out a JSON value to - pass a JSON Object to get legal exchangeable JSON
|
static void |
JSON.write(OutputStream output,
JsonValue jValue)
Write out a JSON value - pass a JSON Object to get legal exchangeable JSON
|
Modifier and Type | Method and Description |
---|---|
boolean |
JsonArray.addAll(Collection<? extends JsonValue> c) |
boolean |
JsonArray.addAll(int index,
Collection<? extends JsonValue> c) |
void |
JsonObject.putAll(Map<? extends String,? extends JsonValue> m) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
JSONMaker.jsonValue() |
Licenced under the Apache License, Version 2.0