JSONStringer |
JSONStringer.array() |
Begins encoding a new array.
|
(package private) JSONStringer |
JSONStringer.close(JSONStringer.Scope empty,
JSONStringer.Scope nonempty,
java.lang.String closeBracket) |
Closes the current scope by appending any necessary whitespace and the
given bracket.
|
protected JSONStringer |
JSONStringer.createKey(java.lang.String name) |
Creates String representation of the key (property name) to this stringer
Override this method to provide your own representation of the name.
|
JSONStringer |
JSONStringer.endArray() |
Ends encoding the current array.
|
JSONStringer |
JSONStringer.endObject() |
Ends encoding the current object.
|
JSONStringer |
JSONStringer.entry(java.util.Map.Entry<java.lang.String,java.lang.Object> entry) |
Encodes key /value pair to this stringer.
|
JSONStringer |
JSONStringer.key(java.lang.String name) |
Encodes the key (property name) to this stringer.
|
JSONStringer |
JSONStringer.object() |
Begins encoding a new object.
|
(package private) JSONStringer |
JSONStringer.open(JSONStringer.Scope empty,
java.lang.String openBracket) |
Enters a new scope by appending any necessary whitespace and the given
bracket.
|
JSONStringer |
JSONStringer.value(boolean value) |
Encodes value to this stringer.
|
JSONStringer |
JSONStringer.value(double value) |
Encodes value to this stringer.
|
JSONStringer |
JSONStringer.value(long value) |
Encodes value to this stringer.
|
JSONStringer |
JSONStringer.value(java.lang.Object value) |
Encodes value .
|