Package | Description |
---|---|
org.kordamp.json.util |
Miscelaneous utilities
|
Modifier and Type | Class and Description |
---|---|
class |
JSONStringer
JSONStringer provides a quick and convenient way of producing JSON text.
|
Modifier and Type | Method and Description |
---|---|
JSONBuilder |
JSONBuilder.array()
Begin appending a new array.
|
JSONBuilder |
JSONBuilder.endArray()
End an array.
|
JSONBuilder |
JSONBuilder.endObject()
End an object.
|
JSONBuilder |
JSONBuilder.key(String s)
Append a key.
|
JSONBuilder |
JSONBuilder.object()
Begin appending a new object.
|
JSONBuilder |
JSONBuilder.value(boolean b)
Append either the value
true or the value
false . |
JSONBuilder |
JSONBuilder.value(double d)
Append a double value.
|
JSONBuilder |
JSONBuilder.value(long l)
Append a long value.
|
JSONBuilder |
JSONBuilder.value(Object o)
Append an object value.
|