- aBooleanNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- aFalseBuilder() - Static method in class argo.jdom.JsonNodeBuilders
-
- aField(String) - Static method in class argo.jdom.JsonNodeSelectors
-
- aField(JsonStringNode) - Static method in class argo.jdom.JsonNodeSelectors
-
- anArrayBuilder() - Static method in class argo.jdom.JsonNodeBuilders
-
Builder for a JSON array.
- anArrayNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- anArrayNodeWithElement(int) - Static method in class argo.jdom.JsonNodeSelectors
-
- anElement(int) - Static method in class argo.jdom.JsonNodeSelectors
-
- anObjectBuilder() - Static method in class argo.jdom.JsonNodeBuilders
-
Builder for a JSON object that permits duplicated field names, and preserves field order.
- anObjectNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- anObjectNodeWithField(JsonStringNode) - Static method in class argo.jdom.JsonNodeSelectors
-
- anObjectNodeWithField(String) - Static method in class argo.jdom.JsonNodeSelectors
-
- aNullableArrayNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- aNullableBooleanNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- aNullableNumberNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- aNullableObjectNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- aNullableStringNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- aNullBuilder() - Static method in class argo.jdom.JsonNodeBuilders
-
- aNullNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- aNumberBuilder(String) - Static method in class argo.jdom.JsonNodeBuilders
-
Builder for a JSON number.
- aNumberNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- anyNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- argo - package argo
-
Provides classes for parsing and generating JSON.
- argo.format - package argo.format
-
Provides classes for formatting
JsonNode
s as text.
- argo.jdom - package argo.jdom
-
Provides classes for parsing JSON character streams into
JsonNode
objects, in other words, a DOM style parser.
- argo.saj - package argo.saj
-
Provides classes for parsing a JSON character stream into an event stream, in other words, a push parser, analogous to
SAX for XML.
- argo.staj - package argo.staj
-
Provides classes extracting elements from a JSON character stream, in other words, a pull parser, analogous to StAX for
XML.
- array(Iterator<? extends JsonNode>) - Static method in class argo.jdom.JsonNodeFactories
-
- array(Iterable<? extends JsonNode>) - Static method in class argo.jdom.JsonNodeFactories
-
- array(JsonNode...) - Static method in class argo.jdom.JsonNodeFactories
-
- array(List<JsonNode>) - Method in interface argo.jdom.JsonNodeVisitor
-
Called by JSON arrays.
- ArrayWriter - Interface in argo.format
-
An ArrayWriter
provides operations for outputting the elements of a JSON array.
- asBigDecimal(String) - Static method in class argo.format.JsonNumberUtils
-
- asBigDecimal(String) - Static method in class argo.jdom.JsonNumberUtils
-
Helper method for converting JSON number String
s into BigDecimal
s.
- asBigInteger(String) - Static method in class argo.format.JsonNumberUtils
-
- asBigInteger(String) - Static method in class argo.jdom.JsonNumberUtils
-
Helper method for converting JSON number String
s into BigInteger
s.
- asDouble(String) - Static method in class argo.format.JsonNumberUtils
-
- asDouble(String) - Static method in class argo.jdom.JsonNumberUtils
-
Helper method for converting JSON number String
s into Double
s.
- asInteger(String) - Static method in class argo.format.JsonNumberUtils
-
- asInteger(String) - Static method in class argo.jdom.JsonNumberUtils
-
Helper method for converting JSON number String
s into Integer
s.
- aStringBuilder(String) - Static method in class argo.jdom.JsonNodeBuilders
-
Builder for a JSON string.
- aStringNode(Object...) - Static method in class argo.jdom.JsonNodeSelectors
-
- aTrueBuilder() - Static method in class argo.jdom.JsonNodeBuilders
-
- aUniqueFieldNameObjectBuilder() - Static method in class argo.jdom.JsonNodeBuilders
-
Builder for a JSON object that has unique field names.
- generate(Writer, WriteableJsonArray) - Method in class argo.JsonGenerator
-
Streams a JSON representation of the given WriteableJsonArray
to the given Writer
.
- generate(WriteableJsonArray) - Method in class argo.JsonGenerator
-
Generates a JSON representation of the given WriteableJsonArray
as a String
.
- generate(Writer, WriteableJsonObject) - Method in class argo.JsonGenerator
-
Streams a JSON representation of the given WriteableJsonObject
to the given Writer
.
- generate(WriteableJsonObject) - Method in class argo.JsonGenerator
-
Generates a JSON representation of the given WriteableJsonObject
as a String
.
- generate(Writer, WriteableJsonString) - Method in class argo.JsonGenerator
-
Streams a JSON representation of the given WriteableJsonString
to the given Writer
.
- generate(WriteableJsonString) - Method in class argo.JsonGenerator
-
Generates a JSON representation of the given WriteableJsonString
as a String
.
- generate(Writer, WriteableJsonNumber) - Method in class argo.JsonGenerator
-
Streams a JSON representation of the given WriteableJsonNumber
to the given Writer
.
- generate(WriteableJsonNumber) - Method in class argo.JsonGenerator
-
Generates a JSON representation of the given WriteableJsonNumber
as a String
.
- generate(Writer, JsonNode) - Method in class argo.JsonGenerator
-
Streams a JSON representation of the given JsonNode
to the given Writer
.
- generate(JsonNode) - Method in class argo.JsonGenerator
-
Generates a JSON representation of the given JsonNode
as a String
.
- generateWithFieldSorting(Writer, JsonNode) - Method in class argo.JsonGenerator
-
Streams a JSON representation of the given JsonNode
to the given Writer
, outputting fields in lexicographic order.
- generateWithFieldSorting(JsonNode) - Method in class argo.JsonGenerator
-
Generates a JSON representation of the given JsonNode
as a String
, outputting fields in lexicographic order.
- getArrayNode(Object...) - Method in class argo.jdom.JsonNode
-
Gets a List
of JsonNode
s, representing a JSON array, by navigating the hierarchy below this node.
- getBooleanValue(Object...) - Method in class argo.jdom.JsonNode
-
Gets a Boolean
by navigating the hierarchy below this node.
- getCause() - Method in exception argo.JsonStreamException
-
- getColumn() - Method in exception argo.InvalidSyntaxException
-
The column number at which the invalid syntax occurred, or -1 if the column number is unknown.
- getColumn() - Method in exception argo.InvalidSyntaxRuntimeException
-
The column number at which the invalid syntax occurred, or -1 if the column number is unknown.
- getColumn() - Method in exception argo.saj.InvalidSyntaxException
-
Deprecated.
The column number at which the invalid syntax occurred, or -1 if the column number is unknown.
- getElements() - Method in class argo.jdom.JsonNode
-
- getElements() - Method in class argo.jdom.JsonStringNode
-
- getFieldList() - Method in class argo.jdom.JsonNode
-
Gets the fields associated with this node as a list of JsonFields
.
- getFieldList() - Method in class argo.jdom.JsonStringNode
-
- getFields() - Method in class argo.jdom.JsonNode
-
Gets the fields associated with this node as a map of name to value.
- getFields() - Method in class argo.jdom.JsonStringNode
-
- getLine() - Method in exception argo.InvalidSyntaxException
-
The line number at which the invalid syntax occurred, or -1 if the line number is unknown.
- getLine() - Method in exception argo.InvalidSyntaxRuntimeException
-
The line number at which the invalid syntax occurred, or -1 if the line number is unknown.
- getLine() - Method in exception argo.saj.InvalidSyntaxException
-
Deprecated.
The line number at which the invalid syntax occurred, or -1 if the line number is unknown.
- getName() - Method in class argo.jdom.JsonField
-
- getNameText() - Method in class argo.jdom.JsonField
-
- getNode(Object...) - Method in class argo.jdom.JsonNode
-
Gets a JsonNode
by navigating the hierarchy below this node.
- getNullableArrayNode(Object...) - Method in class argo.jdom.JsonNode
-
Gets a List
of JsonNode
s, representing a JSON array, or null
by navigating the hierarchy below this node.
- getNullableBooleanValue(Object...) - Method in class argo.jdom.JsonNode
-
Gets a Boolean
or null
by navigating the hierarchy below this node.
- getNullableNumberValue(Object...) - Method in class argo.jdom.JsonNode
-
Gets a numeric String
or null
by navigating the hierarchy below this node.
- getNullableObjectNode(Object...) - Method in class argo.jdom.JsonNode
-
Gets a Map
of String
field names to JsonNode
s, representing a JSON object, or null
by navigating the hierarchy below this node.
- getNullableStringValue(Object...) - Method in class argo.jdom.JsonNode
-
Gets a String
or null
by navigating the hierarchy below this node.
- getNullNode(Object...) - Method in class argo.jdom.JsonNode
-
Gets a JsonNode
representing null by navigating the hierarchy below this node.
- getNumberValue(Object...) - Method in class argo.jdom.JsonNode
-
Gets a numeric String
by navigating the hierarchy below this node.
- getObjectNode(Object...) - Method in class argo.jdom.JsonNode
-
Gets a Map
of String
field names to JsonNode
s, representing a JSON object, by navigating the hierarchy below this node.
- getStringValue(Object...) - Method in class argo.jdom.JsonNode
-
Gets a String
by navigating the hierarchy below this node.
- getText() - Method in class argo.jdom.JsonNode
-
- getText() - Method in class argo.jdom.JsonStringNode
-
- getType() - Method in class argo.jdom.JsonNode
-
- getType() - Method in class argo.jdom.JsonStringNode
-
- getValue() - Method in class argo.jdom.JsonField
-
- getValue(T) - Method in class argo.jdom.JsonNodeSelector
-
Extracts a value from the give JsonNode
.
- InvalidSyntaxException - Exception in argo
-
Thrown to indicate a given character stream is not valid JSON.
- InvalidSyntaxException - Exception in argo.saj
-
- InvalidSyntaxRuntimeException - Exception in argo
-
Thrown to indicate a given character stream is not valid JSON.
- isArrayNode(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists and is a JSON array.
- isBooleanValue(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists and is a JSON boolean.
- isNode(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists.
- isNullableArrayNode(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists and is a JSON array or a JSON null.
- isNullableBooleanValue(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists and is a JSON boolean or a JSON null.
- isNullableNumberNode(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists and is a JSON number or a JSON null.
- isNullableObjectNode(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists and is a JSON object or a JSON null.
- isNullableStringValue(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists and is a JSON string or a JSON null.
- isNullNode(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists and is a JSON null.
- isNumberValue(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists and is a JSON number.
- isObjectNode(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists and is a JSON object.
- isStringValue(Object...) - Method in class argo.jdom.JsonNode
-
Determines whether the node at the given path exists and is a JSON string.
- JdomParser - Class in argo.jdom
-
- JdomParser() - Constructor for class argo.jdom.JdomParser
-
Deprecated.
- JsonArrayNodeBuilder - Class in argo.jdom
-
Builder for JsonNode
s representing JSON arrays.
- JsonField - Class in argo.jdom
-
A field in a JSON object.
- JsonField(String, JsonNode) - Constructor for class argo.jdom.JsonField
-
Constructs an instance of JsonField
with the given name and value.
- JsonField(JsonStringNode, JsonNode) - Constructor for class argo.jdom.JsonField
-
Constructs an instance of JsonField
with the given name and value.
- JsonFormatter - Interface in argo.format
-
- JsonGenerator - Class in argo
-
Provides operations create String
s of valid JSON and to stream valid JSON text to a java.io.Writer
.
- JsonGenerator() - Constructor for class argo.JsonGenerator
-
- JsonGenerator.JsonGeneratorStyle - Enum in argo
-
Styles of output a JsonGenerator
can produce.
- JsonListener - Interface in argo
-
A JsonListener is notified of events generated by a SajParser
from a stream of JSON characters.
- JsonNode - Class in argo.jdom
-
A node (leaf or otherwise) in a JSON document.
- JsonNodeBuilder<T extends JsonNode> - Interface in argo.jdom
-
Classes that implement JsonNodeBuilder
provide methods for specifying details of a JsonNode
and then constructing it.
- JsonNodeBuilders - Class in argo.jdom
-
Builders for JsonNode
s.
- JsonNodeDoesNotMatchJsonNodeSelectorException - Exception in argo.jdom
-
- JsonNodeFactories - Class in argo.jdom
-
Factories for JsonNode
s.
- JsonNodeSelector<T,U> - Class in argo.jdom
-
Instances of JsonNodeSelector
extract values from Object
s of a specified type.
- JsonNodeSelectors - Class in argo.jdom
-
Factories for JsonNodeSelectors
.
- JsonNodeType - Enum in argo.jdom
-
Types of JsonNode
.
- JsonNodeVisitor - Interface in argo.jdom
-
Called back using the method that matches the type of element being visited.
- JsonNumberUtils - Class in argo.format
-
- JsonNumberUtils - Class in argo.jdom
-
Helper methods for converting JSON number String
s into Java numeric objects.
- JsonObjectNodeBuilder - Class in argo.jdom
-
Builder for JsonNode
s representing JSON objects.
- JsonParser - Class in argo
-
Provides operations to parse JSON.
- JsonParser() - Constructor for class argo.JsonParser
-
- JsonParser.NodeInterningStrategy - Enum in argo
-
Strategies a JsonParser
can use for object reuse when parsing a document without streaming.
- JsonParser.PositionTracking - Enum in argo
-
Settings a JsonParser
can use for tracking parsing position for error reporting.
- JsonParser.PrevalidatedNumber - Class in argo
-
Internal class
- JsonStreamElement - Class in argo
-
An element of a JSON document.
- jsonStreamElementType() - Method in class argo.JsonStreamElement
-
Gets the type of this element.
- JsonStreamElementType - Enum in argo
-
Types of element a StajParser
can produce.
- JsonStreamException - Exception in argo
-
Thrown to indicate that it was not possible to read any further along the JSON stream.
- JsonStringNode - Class in argo.jdom
-
JsonNode
that explicitly represents a JSON String.
- JsonWriter - Interface in argo.format
-
- value - Variable in class argo.JsonParser.PrevalidatedNumber
-
- valueOf(String) - Static method in enum argo.jdom.JsonNodeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum argo.JsonGenerator.JsonGeneratorStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum argo.JsonParser.NodeInterningStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum argo.JsonParser.PositionTracking
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum argo.JsonStreamElementType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum argo.jdom.JsonNodeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum argo.JsonGenerator.JsonGeneratorStyle
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum argo.JsonParser.NodeInterningStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum argo.JsonParser.PositionTracking
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum argo.JsonStreamElementType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- visit(JsonNodeVisitor) - Method in class argo.jdom.JsonNode
-
Executes a callback to the method corresponding to the type of this JsonNode
.
- visit(JsonNodeVisitor) - Method in class argo.jdom.JsonStringNode
-
- visit(JsonListener) - Method in class argo.JsonStreamElement
-
Converts this element into a callback to a JsonListener.
- with(JsonNodeSelector<U, V>) - Method in class argo.jdom.JsonNodeSelector
-
Constructs a JsonNodeSelector consisting of this chained with the given JsonNodeSelector
.
- withElement(JsonNodeBuilder<?>) - Method in class argo.jdom.JsonArrayNodeBuilder
-
Adds the given element to the array that will be built.
- withField(String, JsonNodeBuilder<?>) - Method in class argo.jdom.JsonObjectNodeBuilder
-
Adds a field to the object that will be built.
- withField(JsonStringNode, JsonNodeBuilder<?>) - Method in class argo.jdom.JsonObjectNodeBuilder
-
Adds a field to the object that will be built.
- write(Writer, WriteableJsonArray) - Method in interface argo.format.JsonWriter
-
- write(Writer, WriteableJsonObject) - Method in interface argo.format.JsonWriter
-
- write(Writer, WriteableJsonString) - Method in interface argo.format.JsonWriter
-
- write(Writer, WriteableJsonNumber) - Method in interface argo.format.JsonWriter
-
- write(Writer, JsonNode) - Method in interface argo.format.JsonWriter
-
- WriteableJsonArray - Interface in argo.format
-
A WriteableJsonArray
is called back with an ArrayWriter
with which to write itself.
- WriteableJsonNumber - Interface in argo.format
-
A WriteableJsonNumber
is called back with a java.io.Writer
with which to write itself.
- WriteableJsonObject - Interface in argo.format
-
A WriteableJsonObject
is called back with an ObjectWriter
with which to write itself.
- WriteableJsonString - Interface in argo.format
-
A WriteableJsonString
is called back with a java.io.Writer
with which to write itself.
- writeElement(WriteableJsonObject) - Method in interface argo.format.ArrayWriter
-
Writes the given WriteableJsonObject
as the next element of the array.
- writeElement(WriteableJsonArray) - Method in interface argo.format.ArrayWriter
-
Writes the given WriteableJsonArray
as the next element of the array.
- writeElement(WriteableJsonString) - Method in interface argo.format.ArrayWriter
-
Writes the given WriteableJsonString
as the next element of the array.
- writeElement(WriteableJsonNumber) - Method in interface argo.format.ArrayWriter
-
Writes the given WriteableJsonNumber
as the next element of the array.
- writeElement(JsonNode) - Method in interface argo.format.ArrayWriter
-
Writes the given JsonNode
as the next element of the array.
- writeField(String, WriteableJsonObject) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(String, WriteableJsonArray) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(String, WriteableJsonString) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(String, WriteableJsonNumber) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(String, JsonNode) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(JsonStringNode, WriteableJsonObject) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(JsonStringNode, WriteableJsonArray) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(JsonStringNode, WriteableJsonString) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(JsonStringNode, WriteableJsonNumber) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(JsonStringNode, JsonNode) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(WriteableJsonString, WriteableJsonObject) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(WriteableJsonString, WriteableJsonArray) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(WriteableJsonString, WriteableJsonString) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(WriteableJsonString, WriteableJsonNumber) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(WriteableJsonString, JsonNode) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeField(JsonField) - Method in interface argo.format.ObjectWriter
-
Writes the given name and value as the next field of the object.
- writeTo(ArrayWriter) - Method in interface argo.format.WriteableJsonArray
-
Callback to request that this WriteableJsonArray
writes its elements using the given ArrayWriter
.
- writeTo(Writer) - Method in interface argo.format.WriteableJsonNumber
-
Callback to request that this WriteableJsonNumber
writes itself using the given Writer
.
- writeTo(ObjectWriter) - Method in interface argo.format.WriteableJsonObject
-
Callback to request that this WriteableJsonObject
writes its fields using the given ObjectWriter
.
- writeTo(Writer) - Method in interface argo.format.WriteableJsonString
-
Callback to request that this WriteableJsonString
writes itself using the given Writer
.