| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private UBJsonWriter. | |
| private boolean | |
| pack-priv final DataOutputStream | |
| private final Array |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public UBJsonWriter | |
| public UBJsonWriter | |
| private void | |
| public void | close()
Implements java. Closes the underlying output stream and releases any system resources associated with the stream. |
| public void | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | Returns: This writer, for chainingEnds the current object or array and pops it off of the element stack. |
| protected UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | Returns: this writer, for chainingAppends an optimized |
| public UBJsonWriter | Returns: this writer, for chainingAppends an optimized |
| public UBJsonWriter | Returns: this writer, for chainingAppends an optimized |
| public UBJsonWriter | Returns: this writer, for chainingAppends an optimized |
| public UBJsonWriter | Returns: this writer, for chainingAppends an optimized |
| public UBJsonWriter | Returns: this writer, for chainingAppends an optimized |
| public UBJsonWriter | Returns: this writer, for chainingAppends a |
| public UBJsonWriter | Returns: this writer, for chainingAppends an optimized |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter | |
| public UBJsonWriter |
| current | back to summary |
|---|---|
| private UBJsonWriter. | |
| named | back to summary |
|---|---|
| private boolean named | |
| out | back to summary |
|---|---|
| pack-priv final DataOutputStream out | |
| stack | back to summary |
|---|---|
| private final Array<UBJsonWriter. | |
| UBJsonWriter | back to summary |
|---|---|
| public UBJsonWriter(OutputStream out) | |
| array | back to summary |
|---|---|
| public UBJsonWriter array() throws IOException Begins a new array container. To finish the array call
| |
| array | back to summary |
|---|---|
| public UBJsonWriter array(String name) throws IOException Begins a new named array container, having the given name. To finish the array call
| |
| checkName | back to summary |
|---|---|
| private void checkName() | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Closes the underlying output stream and releases any system resources associated with the stream.
| |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Flushes the underlying stream. This forces any buffered output bytes to be written out to the stream. | |
| name | back to summary |
|---|---|
| public UBJsonWriter name(String name) throws IOException Appends a name for the next object, array, or value.
| |
| object | back to summary |
|---|---|
| public UBJsonWriter object() throws IOException Begins a new object container. To finish the object call
| |
| object | back to summary |
|---|---|
| public UBJsonWriter object(String name) throws IOException Begins a new named object container, having the given name. To finish the object call
| |
| pop | back to summary |
|---|---|
| public UBJsonWriter pop() throws IOException Ends the current object or array and pops it off of the element stack.
| |
| pop | back to summary |
|---|---|
| protected UBJsonWriter pop(boolean silent) throws IOException | |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, byte value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, short value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, int value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, long value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, float value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, double value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, boolean value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, char value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, String value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, byte[] value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, short[] value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, int[] value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, long[] value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, float[] value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, double[] value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, boolean[] value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, char[] value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name, String[] value) throws IOException Appends a named
| |
| set | back to summary |
|---|---|
| public UBJsonWriter set(String name) throws IOException Appends a named
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(byte value) throws IOException Appends a
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(short value) throws IOException Appends a
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(int value) throws IOException Appends an
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(long value) throws IOException Appends a
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(float value) throws IOException Appends a
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(double value) throws IOException Appends a
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(boolean value) throws IOException Appends a
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(char value) throws IOException Appends a
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(String value) throws IOException Appends a
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(byte[] values) throws IOException Appends an optimized
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(short[] values) throws IOException Appends an optimized
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(int[] values) throws IOException Appends an optimized
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(long[] values) throws IOException Appends an optimized
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(float[] values) throws IOException Appends an optimized
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(double[] values) throws IOException Appends an optimized
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(boolean[] values) throws IOException Appends a
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(char[] values) throws IOException Appends an optimized
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(String[] values) throws IOException Appends an optimized
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(JsonValue value) throws IOException Appends the given JsonValue, including all its fields recursively, to the stream.
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value(Object object) throws IOException Appends the object to the stream, if it is a known value type. This is a convenience method that calls through to the appropriate value method.
| |
| value | back to summary |
|---|---|
| public UBJsonWriter value() throws IOException Appends a
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void |
| array | back to summary |
|---|---|
| pack-priv final boolean array | |
| JsonObject | back to summary |
|---|---|
| pack-priv JsonObject(boolean array) throws IOException | |
| close | back to summary |
|---|---|
| pack-priv void close() throws IOException | |