Index
All Classes and Interfaces|All Packages|Serialized Form
A
- any() - Static method in class com.grack.nanojson.JsonParser
-
Parses any object from a source.
- appendable - Variable in class com.grack.nanojson.JsonAppendableWriter
- appendable - Variable in class com.grack.nanojson.JsonStringWriter
- array() - Method in class com.grack.nanojson.JsonBuilder
- array() - Static method in class com.grack.nanojson.JsonParser
-
Parses a
JsonArrayfrom a source. - array() - Method in class com.grack.nanojson.JsonReader
-
Starts reading an array at the current value.
- array() - Method in interface com.grack.nanojson.JsonSink
-
Starts an array.
- array() - Method in class com.grack.nanojson.JsonAppendableWriter
- array() - Method in class com.grack.nanojson.JsonStringWriter
- array(String) - Method in class com.grack.nanojson.JsonBuilder
- array(String) - Method in interface com.grack.nanojson.JsonSink
-
Starts an array within an object, prefixed with a key.
- array(String) - Method in class com.grack.nanojson.JsonAppendableWriter
- array(String) - Method in class com.grack.nanojson.JsonStringWriter
- array(String, Collection<?>) - Method in class com.grack.nanojson.JsonBuilder
- array(String, Collection<?>) - Method in interface com.grack.nanojson.JsonSink
-
Emits the start of an array with a key.
- array(String, Collection<?>) - Method in class com.grack.nanojson.JsonAppendableWriter
- array(String, Collection<?>) - Method in class com.grack.nanojson.JsonStringWriter
- array(Collection<?>) - Method in class com.grack.nanojson.JsonBuilder
- array(Collection<?>) - Method in interface com.grack.nanojson.JsonSink
-
Emits the start of an array.
- array(Collection<?>) - Method in class com.grack.nanojson.JsonAppendableWriter
- array(Collection<?>) - Method in class com.grack.nanojson.JsonStringWriter
- ARRAY - Enum constant in enum class com.grack.nanojson.JsonReader.Type
-
An array.
B
- bool() - Method in class com.grack.nanojson.JsonReader
-
Parses the current value as a boolean.
- BOOLEAN - Enum constant in enum class com.grack.nanojson.JsonReader.Type
-
A boolean value (true or false).
- builder() - Static method in class com.grack.nanojson.JsonArray
-
Creates a
JsonBuilderfor aJsonArray. - builder() - Static method in class com.grack.nanojson.JsonObject
-
Creates a
JsonBuilderfor aJsonObject.
C
- com.grack.nanojson - module com.grack.nanojson
- com.grack.nanojson - package com.grack.nanojson
-
Lightweight JSON input/output library.
- current() - Method in class com.grack.nanojson.JsonReader
-
Returns the current type of the value.
D
- done() - Method in class com.grack.nanojson.JsonAppendableWriter
-
Closes this JSON writer and flushes the underlying
Appendableif it is alsoFlushable. - done() - Method in class com.grack.nanojson.JsonBuilder
-
Completes this builder, closing any unclosed objects and returns the built object.
- done() - Method in class com.grack.nanojson.JsonStringWriter
-
Completes this JSON writing session and returns the internal representation as a
String. - doneInternal() - Method in class com.grack.nanojson.JsonAppendableWriter
-
Ensures that the object is in the finished state.
- doneInternal() - Method in class com.grack.nanojson.JsonStringWriter
-
Ensures that the object is in the finished state.
- doubleVal() - Method in class com.grack.nanojson.JsonReader
-
Parses the current value as a double.
E
- end() - Method in class com.grack.nanojson.JsonBuilder
- end() - Method in interface com.grack.nanojson.JsonSink
-
Ends the current array or object.
- end() - Method in class com.grack.nanojson.JsonAppendableWriter
- end() - Method in class com.grack.nanojson.JsonStringWriter
- escape(String) - Static method in class com.grack.nanojson.JsonWriter
-
Escape a string value.
F
- floatVal() - Method in class com.grack.nanojson.JsonReader
-
Parses the current value as a float.
- from(InputStream) - Method in class com.grack.nanojson.JsonParser.JsonParserContext
-
Parses the current JSON type from a
InputStream. - from(InputStream) - Static method in class com.grack.nanojson.JsonReader
-
Create a
JsonReaderfrom anInputStream. - from(Reader) - Method in class com.grack.nanojson.JsonParser.JsonParserContext
-
Parses the current` JSON type from a
Reader. - from(Object...) - Static method in class com.grack.nanojson.JsonArray
-
Creates a
JsonArrayfrom an array of contents. - from(String) - Method in class com.grack.nanojson.JsonParser.JsonParserContext
-
Parses the current JSON type from a
String. - from(String) - Static method in class com.grack.nanojson.JsonReader
-
Create a
JsonReaderfrom aString. - from(URL) - Method in class com.grack.nanojson.JsonParser.JsonParserContext
-
Parses the current JSON type from a
URL.
G
- get(int) - Method in class com.grack.nanojson.JsonArray
-
Returns the underlying object at the given index, or null if it does not exist.
- getArray(int) - Method in class com.grack.nanojson.JsonArray
-
Returns the
JsonArrayat the given index, or null if it does not exist or is the wrong type. - getArray(int, JsonArray) - Method in class com.grack.nanojson.JsonArray
-
Returns the
JsonArrayat the given index, or the default if it does not exist or is the wrong type. - getArray(String) - Method in class com.grack.nanojson.JsonObject
-
Returns the
JsonArrayat the given key, or null if it does not exist or is the wrong type. - getArray(String, JsonArray) - Method in class com.grack.nanojson.JsonObject
-
Returns the
JsonArrayat the given key, or the default if it does not exist or is the wrong type. - getBoolean(int) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Booleanat the given index, or false if it does not exist or is the wrong type. - getBoolean(int, Boolean) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Booleanat the given index, or the default if it does not exist or is the wrong type. - getBoolean(String) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Booleanat the given key, or false if it does not exist or is the wrong type. - getBoolean(String, Boolean) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Booleanat the given key, or the default if it does not exist or is the wrong type. - getCharOffset() - Method in exception class com.grack.nanojson.JsonParserException
-
Gets the 0-based character offset of the error from the beginning of the string.
- getCharPosition() - Method in exception class com.grack.nanojson.JsonParserException
-
Gets the 1-based character position of the error.
- getDouble(int) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Doubleat the given index, or 0.0 if it does not exist or is the wrong type. - getDouble(int, double) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Doubleat the given index, or the default if it does not exist or is the wrong type. - getDouble(String) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Doubleat the given key, or 0.0 if it does not exist or is the wrong type. - getDouble(String, double) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Doubleat the given key, or the default if it does not exist or is the wrong type. - getFloat(int) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Floatat the given index, or 0.0f if it does not exist or is the wrong type. - getFloat(int, float) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Floatat the given index, or the default if it does not exist or is the wrong type. - getFloat(String) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Floatat the given key, or 0.0f if it does not exist or is the wrong type. - getFloat(String, float) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Floatat the given key, or the default if it does not exist or is the wrong type. - getInt(int) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Integerat the given index, or 0 if it does not exist or is the wrong type. - getInt(int, int) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Integerat the given index, or the default if it does not exist or is the wrong type. - getInt(String) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Integerat the given key, or 0 if it does not exist or is the wrong type. - getInt(String, int) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Integerat the given key, or the default if it does not exist or is the wrong type. - getLinePosition() - Method in exception class com.grack.nanojson.JsonParserException
-
Gets the 1-based line position of the error.
- getLong(int) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Longat the given index, or 0 if it does not exist or is the wrong type. - getLong(int, long) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Longat the given index, or the default if it does not exist or is the wrong type. - getLong(String) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Longat the given key, or 0 if it does not exist or is the wrong type. - getLong(String, long) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Longat the given key, or the default if it does not exist or is the wrong type. - getNumber(int) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Numberat the given index, or null if it does not exist or is the wrong type. - getNumber(int, Number) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Numberat the given index, or the default if it does not exist or is the wrong type. - getNumber(String) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Numberat the given key, or null if it does not exist or is the wrong type. - getNumber(String, Number) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Numberat the given key, or the default if it does not exist or is the wrong type. - getObject(int) - Method in class com.grack.nanojson.JsonArray
-
Returns the
JsonObjectat the given index, or null if it does not exist or is the wrong type. - getObject(int, JsonObject) - Method in class com.grack.nanojson.JsonArray
-
Returns the
JsonObjectat the given index, or the default if it does not exist or is the wrong type. - getObject(String) - Method in class com.grack.nanojson.JsonObject
-
Returns the
JsonObjectat the given key, or null if it does not exist or is the wrong type. - getObject(String, JsonObject) - Method in class com.grack.nanojson.JsonObject
-
Returns the
JsonObjectat the given key, or the default if it does not exist or is the wrong type. - getString(int) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Stringat the given index, or null if it does not exist or is the wrong type. - getString(int, String) - Method in class com.grack.nanojson.JsonArray
-
Returns the
Stringat the given index, or the default if it does not exist or is the wrong type. - getString(String) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Stringat the given key, or null if it does not exist or is the wrong type. - getString(String, String) - Method in class com.grack.nanojson.JsonObject
-
Returns the
Stringat the given key, or the default if it does not exist or is the wrong type.
H
- has(int) - Method in class com.grack.nanojson.JsonArray
-
Returns true if the array has an element at that index (even if that element is null).
- has(String) - Method in class com.grack.nanojson.JsonObject
-
Returns true if the object has an element at that key (even if that element is null).
I
- indent(String) - Static method in class com.grack.nanojson.JsonWriter
-
Creates a
JsonWritersource that will write indented output with the given indent. - intVal() - Method in class com.grack.nanojson.JsonReader
-
Parses the current value as an integer.
- isBoolean(int) - Method in class com.grack.nanojson.JsonArray
-
Returns true if the array has a boolean element at that index.
- isBoolean(String) - Method in class com.grack.nanojson.JsonObject
-
Returns true if the object has a boolean element at that key.
- isNull(int) - Method in class com.grack.nanojson.JsonArray
-
Returns true if the array has a null element at that index.
- isNull(String) - Method in class com.grack.nanojson.JsonObject
-
Returns true if the object has a null element at that key.
- isNumber(int) - Method in class com.grack.nanojson.JsonArray
-
Returns true if the array has a number element at that index.
- isNumber(String) - Method in class com.grack.nanojson.JsonObject
-
Returns true if the object has a number element at that key.
- isString(int) - Method in class com.grack.nanojson.JsonArray
-
Returns true if the array has a string element at that index.
- isString(String) - Method in class com.grack.nanojson.JsonObject
-
Returns true if the object has a string element at that key.
J
- JsonAppendableWriter - Class in com.grack.nanojson
-
JSON writer that emits JSON to a
Appendable. - JsonArray - Class in com.grack.nanojson
-
Extends an
ArrayListwith helper methods to determine the underlying JSON type of the list element. - JsonArray() - Constructor for class com.grack.nanojson.JsonArray
-
Creates an empty
JsonArraywith the default capacity. - JsonArray(int) - Constructor for class com.grack.nanojson.JsonArray
-
Creates an empty
JsonArraywith the default initial capacity. - JsonArray(Collection<?>) - Constructor for class com.grack.nanojson.JsonArray
-
Creates an empty
JsonArrayfrom the given collection of objects. - JsonBuilder<T> - Class in com.grack.nanojson
-
Builds a
JsonObjectorJsonArray. - JsonObject - Class in com.grack.nanojson
-
Extends a
LinkedHashMapwith helper methods to determine the underlying JSON type of the map element. - JsonObject() - Constructor for class com.grack.nanojson.JsonObject
-
Creates an empty
JsonObjectwith the default capacity. - JsonObject(int) - Constructor for class com.grack.nanojson.JsonObject
-
Creates a
JsonObjectwith the given initial capacity. - JsonObject(int, float) - Constructor for class com.grack.nanojson.JsonObject
-
Creates a
JsonObjectwith the given initial capacity and load factor. - JsonObject(Map<? extends String, ?>) - Constructor for class com.grack.nanojson.JsonObject
-
Creates a
JsonObjectfrom an existingMap. - JsonParser - Class in com.grack.nanojson
-
Simple JSON parser.
- JsonParser.JsonParserContext<T> - Class in com.grack.nanojson
-
Returns a type-safe parser context for a
JsonObject,JsonArrayor "any" type from which you can parse aStringor aReader. - JsonParserException - Exception Class in com.grack.nanojson
-
Thrown when the
JsonParserencounters malformed JSON. - JsonReader - Class in com.grack.nanojson
-
Streaming reader for JSON documents.
- JsonReader.Type - Enum Class in com.grack.nanojson
-
The type of value that the
JsonReaderis positioned over. - JsonSink<SELF> - Interface in com.grack.nanojson
- JsonStringWriter - Class in com.grack.nanojson
-
JSON writer that emits JSON to a
String. - JsonWriter - Class in com.grack.nanojson
-
Factory for JSON writers that target
Strings andAppendables. - JsonWriter.JsonWriterContext - Class in com.grack.nanojson
-
Allows for additional configuration of the
JsonWriter. - JsonWriterException - Exception Class in com.grack.nanojson
-
Thrown when
JsonWriteris used to write invalid JSON.
K
- key() - Method in class com.grack.nanojson.JsonReader
-
Reads the key for the object at the current value.
- key(String) - Method in class com.grack.nanojson.JsonBuilder
- key(String) - Method in interface com.grack.nanojson.JsonSink
-
Writes the key of a key/value pair.
- key(String) - Method in class com.grack.nanojson.JsonAppendableWriter
- key(String) - Method in class com.grack.nanojson.JsonStringWriter
L
- longVal() - Method in class com.grack.nanojson.JsonReader
-
Parses the current value as a long.
N
- next() - Method in class com.grack.nanojson.JsonReader
-
Advance to the next value in this array or object.
- nul() - Method in class com.grack.nanojson.JsonBuilder
- nul() - Method in class com.grack.nanojson.JsonReader
-
Parses the current value as a null.
- nul() - Method in interface com.grack.nanojson.JsonSink
-
Emits a 'null' token.
- nul() - Method in class com.grack.nanojson.JsonAppendableWriter
- nul() - Method in class com.grack.nanojson.JsonStringWriter
- nul(String) - Method in class com.grack.nanojson.JsonBuilder
- nul(String) - Method in interface com.grack.nanojson.JsonSink
-
Emits a 'null' token with a key.
- nul(String) - Method in class com.grack.nanojson.JsonAppendableWriter
- nul(String) - Method in class com.grack.nanojson.JsonStringWriter
- NULL - Enum constant in enum class com.grack.nanojson.JsonReader.Type
-
A null value.
- number() - Method in class com.grack.nanojson.JsonReader
-
Parses the current value as a
Number. - NUMBER - Enum constant in enum class com.grack.nanojson.JsonReader.Type
-
A number.
O
- object() - Method in class com.grack.nanojson.JsonBuilder
- object() - Static method in class com.grack.nanojson.JsonParser
-
Parses a
JsonObjectfrom a source. - object() - Method in class com.grack.nanojson.JsonReader
-
Starts reading an object at the current value.
- object() - Method in interface com.grack.nanojson.JsonSink
-
Starts an object.
- object() - Method in class com.grack.nanojson.JsonAppendableWriter
- object() - Method in class com.grack.nanojson.JsonStringWriter
- object(String) - Method in class com.grack.nanojson.JsonBuilder
- object(String) - Method in interface com.grack.nanojson.JsonSink
-
Starts an object within an object, prefixed with a key.
- object(String) - Method in class com.grack.nanojson.JsonAppendableWriter
- object(String) - Method in class com.grack.nanojson.JsonStringWriter
- object(String, Map<?, ?>) - Method in class com.grack.nanojson.JsonBuilder
- object(String, Map<?, ?>) - Method in interface com.grack.nanojson.JsonSink
-
Emits the start of an object with a key.
- object(String, Map<?, ?>) - Method in class com.grack.nanojson.JsonAppendableWriter
- object(String, Map<?, ?>) - Method in class com.grack.nanojson.JsonStringWriter
- object(Map<?, ?>) - Method in class com.grack.nanojson.JsonBuilder
- object(Map<?, ?>) - Method in interface com.grack.nanojson.JsonSink
-
Emits the start of an object.
- object(Map<?, ?>) - Method in class com.grack.nanojson.JsonAppendableWriter
- object(Map<?, ?>) - Method in class com.grack.nanojson.JsonStringWriter
- OBJECT - Enum constant in enum class com.grack.nanojson.JsonReader.Type
-
An object.
- on(OutputStream) - Method in class com.grack.nanojson.JsonWriter.JsonWriterContext
-
Creates a
JsonAppendableWriterthat can output to anOutputStreamsubclass. - on(OutputStream) - Static method in class com.grack.nanojson.JsonWriter
-
Creates a
JsonAppendableWriterthat can output to anOutputStreamsubclass. - on(PrintStream) - Method in class com.grack.nanojson.JsonWriter.JsonWriterContext
-
Creates a
JsonAppendableWriterthat can output to anPrintStreamsubclass. - on(PrintStream) - Static method in class com.grack.nanojson.JsonWriter
-
Creates a
JsonAppendableWriterthat can output to anPrintStreamsubclass. - on(Appendable) - Method in class com.grack.nanojson.JsonWriter.JsonWriterContext
-
Creates a
JsonAppendableWriterthat can output to anAppendablesubclass, such as aStringBuilder, aWriteraPrintStreamor aCharBuffer. - on(Appendable) - Static method in class com.grack.nanojson.JsonWriter
-
Creates a
JsonAppendableWriterthat can output to anAppendablesubclass, such as aStringBuilder, aWriteraPrintStreamor aCharBuffer. - out - Variable in class com.grack.nanojson.JsonAppendableWriter
- out - Variable in class com.grack.nanojson.JsonStringWriter
P
- pop() - Method in class com.grack.nanojson.JsonReader
-
Returns to the array or object structure above the current one, and advances to the next key or value.
S
- string() - Method in class com.grack.nanojson.JsonReader
-
Parses the current value as a string.
- string() - Method in class com.grack.nanojson.JsonWriter.JsonWriterContext
-
Creates a new
JsonStringWriter. - string() - Static method in class com.grack.nanojson.JsonWriter
-
Creates a new
JsonStringWriter. - string(Object) - Static method in class com.grack.nanojson.JsonWriter
-
Emits a single value (a JSON primitive such as a
Number,Boolean,String, aMaporJsonObject, or aCollectionorJsonArray. - STRING - Enum constant in enum class com.grack.nanojson.JsonReader.Type
-
A string.
U
- utf8 - Variable in class com.grack.nanojson.JsonAppendableWriter
- utf8 - Variable in class com.grack.nanojson.JsonStringWriter
V
- value() - Method in class com.grack.nanojson.JsonReader
-
Returns the current value.
- value(boolean) - Method in class com.grack.nanojson.JsonBuilder
- value(boolean) - Method in interface com.grack.nanojson.JsonSink
-
Emits a boolean value.
- value(boolean) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(boolean) - Method in class com.grack.nanojson.JsonStringWriter
- value(double) - Method in class com.grack.nanojson.JsonBuilder
- value(double) - Method in interface com.grack.nanojson.JsonSink
-
Emits a double value.
- value(double) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(double) - Method in class com.grack.nanojson.JsonStringWriter
- value(float) - Method in class com.grack.nanojson.JsonBuilder
- value(float) - Method in interface com.grack.nanojson.JsonSink
-
Emits a float value.
- value(float) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(float) - Method in class com.grack.nanojson.JsonStringWriter
- value(int) - Method in class com.grack.nanojson.JsonBuilder
- value(int) - Method in interface com.grack.nanojson.JsonSink
-
Emits an integer value.
- value(int) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(int) - Method in class com.grack.nanojson.JsonStringWriter
- value(long) - Method in class com.grack.nanojson.JsonBuilder
- value(long) - Method in interface com.grack.nanojson.JsonSink
-
Emits a long value.
- value(long) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(long) - Method in class com.grack.nanojson.JsonStringWriter
- value(Number) - Method in class com.grack.nanojson.JsonBuilder
- value(Number) - Method in interface com.grack.nanojson.JsonSink
-
Emits a
Numbervalue. - value(Number) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(Number) - Method in class com.grack.nanojson.JsonStringWriter
- value(Object) - Method in class com.grack.nanojson.JsonBuilder
- value(Object) - Method in interface com.grack.nanojson.JsonSink
-
Emits an object if it is a JSON-compatible type, otherwise throws an exception.
- value(Object) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(Object) - Method in class com.grack.nanojson.JsonStringWriter
- value(String) - Method in class com.grack.nanojson.JsonBuilder
- value(String) - Method in interface com.grack.nanojson.JsonSink
-
Emits a string value (or null).
- value(String) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(String) - Method in class com.grack.nanojson.JsonStringWriter
- value(String, boolean) - Method in class com.grack.nanojson.JsonBuilder
- value(String, boolean) - Method in interface com.grack.nanojson.JsonSink
-
Emits a boolean value with a key.
- value(String, boolean) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(String, boolean) - Method in class com.grack.nanojson.JsonStringWriter
- value(String, double) - Method in class com.grack.nanojson.JsonBuilder
- value(String, double) - Method in interface com.grack.nanojson.JsonSink
-
Emits a double value with a key.
- value(String, double) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(String, double) - Method in class com.grack.nanojson.JsonStringWriter
- value(String, float) - Method in class com.grack.nanojson.JsonBuilder
- value(String, float) - Method in interface com.grack.nanojson.JsonSink
-
Emits a float value with a key.
- value(String, float) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(String, float) - Method in class com.grack.nanojson.JsonStringWriter
- value(String, int) - Method in class com.grack.nanojson.JsonBuilder
- value(String, int) - Method in interface com.grack.nanojson.JsonSink
-
Emits an integer value with a key.
- value(String, int) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(String, int) - Method in class com.grack.nanojson.JsonStringWriter
- value(String, long) - Method in class com.grack.nanojson.JsonBuilder
- value(String, long) - Method in interface com.grack.nanojson.JsonSink
-
Emits a long value with a key.
- value(String, long) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(String, long) - Method in class com.grack.nanojson.JsonStringWriter
- value(String, Number) - Method in class com.grack.nanojson.JsonBuilder
- value(String, Number) - Method in interface com.grack.nanojson.JsonSink
-
Emits a
Numbervalue with a key. - value(String, Number) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(String, Number) - Method in class com.grack.nanojson.JsonStringWriter
- value(String, Object) - Method in class com.grack.nanojson.JsonBuilder
- value(String, Object) - Method in interface com.grack.nanojson.JsonSink
-
Emits an object with a key if it is a JSON-compatible type, otherwise throws an exception.
- value(String, Object) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(String, Object) - Method in class com.grack.nanojson.JsonStringWriter
- value(String, String) - Method in class com.grack.nanojson.JsonBuilder
- value(String, String) - Method in interface com.grack.nanojson.JsonSink
-
Emits a string value (or null) with a key.
- value(String, String) - Method in class com.grack.nanojson.JsonAppendableWriter
- value(String, String) - Method in class com.grack.nanojson.JsonStringWriter
- valueOf(String) - Static method in enum class com.grack.nanojson.JsonReader.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.grack.nanojson.JsonReader.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withLazyNumbers() - Method in class com.grack.nanojson.JsonParser.JsonParserContext
-
Parses numbers lazily, allowing us to defer some of the cost of number construction until later.
All Classes and Interfaces|All Packages|Serialized Form