Uses of Class
org.codehaus.jackson.JsonNode

Packages that use JsonNode
org.codehaus.jackson Main public API classes of the core streaming JSON processor: most importantly JsonFactory used for constructing Json parser (JsonParser) and generator (JsonParser) instances. 
org.codehaus.jackson.impl Parser and generator implementation classes that Jackson defines and uses. 
org.codehaus.jackson.map Contains basic mapper (conversion) functionality that allows for converting between regular streaming json content and Java objects (beans or Tree Model: support for both is via ObjectMapper class, as well as convenience methods included in JsonParser 
org.codehaus.jackson.map.deser Contains implementation classes of deserialization part of data binding. 
org.codehaus.jackson.map.ext Contains extended support for "external" packages: things that may or may not be present in runtime environment, but that are commonly enough used so that explicit support can be added. 
org.codehaus.jackson.map.ser Contains implementation classes of serialization part of data binding. 
org.codehaus.jackson.node Contains concrete JsonNode implementations Jackson uses for the Tree model. 
org.codehaus.jackson.schema Classes needed for JSON schema support (currently just ability to generate schemas using serialization part of data mapping) 
org.codehaus.jackson.util Utility classes used by Jackson Core functionality. 
org.codehaus.jackson.xc Package that contains Xml Compatibility functionality for Jackson. 
 

Uses of JsonNode in org.codehaus.jackson
 

Methods in org.codehaus.jackson that return JsonNode
abstract  JsonNode ObjectCodec.createArrayNode()
          Method for construct root level Array nodes for Tree Model instances.
abstract  JsonNode ObjectCodec.createObjectNode()
          Method for construct root level Object nodes for Tree Model instances.
 JsonNode JsonNode.get(int index)
          Method for accessing value of the specified element of an array node.
 JsonNode JsonNode.get(String fieldName)
          Method for accessing value of the specified field of an object node.
 JsonNode JsonNode.getElementValue(int index)
          Deprecated. Use get(int) instead.
 JsonNode JsonNode.getFieldValue(String fieldName)
          Deprecated. Use get(String) instead.
 JsonNode JsonNode.getPath(int index)
          Deprecated. Use path(int) instead
 JsonNode JsonNode.getPath(String fieldName)
          Deprecated. Use path(String) instead
abstract  JsonNode JsonNode.path(int index)
          This method is similar to get(int), except that instead of returning null if no such element exists (due to index being out of range, or this node not being an array), a "missing node" (node that returns true for isMissingNode()) will be returned.
abstract  JsonNode JsonNode.path(String fieldName)
          This method is similar to get(String), except that instead of returning null if no such value exists (due to this node not being an object, or object not having value for the specified field), a "missing node" (node that returns true for isMissingNode()) will be returned.
abstract  JsonNode ObjectCodec.readTree(JsonParser jp)
          Method to deserialize JSON content as tree expressed using set of JsonNode instances.
 JsonNode JsonParser.readValueAsTree()
          Method to deserialize Json content into equivalent "tree model", represented by root JsonNode of resulting model.
 

Methods in org.codehaus.jackson that return types with arguments of type JsonNode
 Iterator<JsonNode> JsonNode.getElements()
          Method for accessing all value nodes of this Node, iff this node is a Json Array or Object node.
 Iterator<JsonNode> JsonNode.iterator()
          Same as calling getElements(); implemented so that convenience "for-each" loop can be used for looping over elements of Json Array constructs.
 

Methods in org.codehaus.jackson with parameters of type JsonNode
abstract  JsonParser ObjectCodec.treeAsTokens(JsonNode n)
          Method for constructing a JsonParser for reading contents of a JSON tree, as if it was external serialized JSON content.
abstract
<T> T
ObjectCodec.treeToValue(JsonNode n, Class<T> valueType)
          Convenience method for converting given JSON tree into instance of specified value type.
abstract  void ObjectCodec.writeTree(JsonGenerator jgen, JsonNode rootNode)
          Method to serialize given Json Tree, using generator provided.
abstract  void JsonGenerator.writeTree(JsonNode rootNode)
          Method for writing given Json tree (expressed as a tree where given JsonNode is the root) using this generator.
 

Uses of JsonNode in org.codehaus.jackson.impl
 

Methods in org.codehaus.jackson.impl with parameters of type JsonNode
 void WriterBasedGenerator.writeTree(JsonNode rootNode)
           
abstract  void JsonGeneratorBase.writeTree(JsonNode rootNode)
           
 

Uses of JsonNode in org.codehaus.jackson.map
 

Methods in org.codehaus.jackson.map that return JsonNode
 JsonNode TreeMapper.readTree(byte[] jsonContent)
          Deprecated.  
 JsonNode TreeMapper.readTree(File src)
          Deprecated.  
 JsonNode TreeMapper.readTree(InputStream src)
          Deprecated.  
 JsonNode ObjectMapper.readTree(InputStream in)
          Method to deserialize JSON content as tree expressed using set of JsonNode instances.
 JsonNode TreeMapper.readTree(JsonParser jp)
          Deprecated. Method that will try to read a sub-tree using given parser, map it to a tree (represented by a root JsonNode) and return it, if possible.
 JsonNode ObjectMapper.readTree(JsonParser jp)
          Method to deserialize JSON content as tree expressed using set of JsonNode instances.
 JsonNode ObjectMapper.readTree(JsonParser jp, DeserializationConfig cfg)
          Method to deserialize JSON content as tree expressed using set of JsonNode instances.
 JsonNode TreeMapper.readTree(Reader src)
          Deprecated.  
 JsonNode ObjectMapper.readTree(Reader r)
          Method to deserialize JSON content as tree expressed using set of JsonNode instances.
 JsonNode TreeMapper.readTree(String jsonContent)
          Deprecated.  
 JsonNode ObjectMapper.readTree(String content)
          Method to deserialize JSON content as tree expressed using set of JsonNode instances.
 JsonNode TreeMapper.readTree(URL src)
          Deprecated.  
 

Methods in org.codehaus.jackson.map with parameters of type JsonNode
 JsonParser ObjectMapper.treeAsTokens(JsonNode n)
           
<T> T
ObjectMapper.treeToValue(JsonNode n, Class<T> valueType)
           
 void ObjectMapper.writeTree(JsonGenerator jgen, JsonNode rootNode)
          Method to serialize given Json Tree, using generator provided.
 void ObjectMapper.writeTree(JsonGenerator jgen, JsonNode rootNode, SerializationConfig cfg)
          Method to serialize given Json Tree, using generator provided.
 void TreeMapper.writeTree(JsonNode rootNode, File dst)
          Deprecated.  
 void TreeMapper.writeTree(JsonNode rootNode, OutputStream dst)
          Deprecated.  
 void TreeMapper.writeTree(JsonNode rootNode, Writer dst)
          Deprecated.  
 

Method parameters in org.codehaus.jackson.map with type arguments of type JsonNode
abstract  JsonDeserializer<?> DeserializerFactory.createTreeDeserializer(DeserializationConfig config, Class<? extends JsonNode> nodeClass, DeserializerProvider p)
          Method called to create and return a deserializer that can construct JsonNode(s) from Json content.
 

Uses of JsonNode in org.codehaus.jackson.map.deser
 

Methods in org.codehaus.jackson.map.deser that return JsonNode
 JsonNode JsonNodeDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt)
          Implementation that will produce types of any JSON nodes; not just one deserializer is registered to handle (in case of more specialized handler).
 

Methods in org.codehaus.jackson.map.deser that return types with arguments of type JsonNode
static JsonDeserializer<? extends JsonNode> JsonNodeDeserializer.getDeserializer(Class<?> nodeClass)
           
 

Method parameters in org.codehaus.jackson.map.deser with type arguments of type JsonNode
 JsonDeserializer<?> BasicDeserializerFactory.createTreeDeserializer(DeserializationConfig config, Class<? extends JsonNode> nodeClass, DeserializerProvider p)
           
 

Uses of JsonNode in org.codehaus.jackson.map.ext
 

Methods in org.codehaus.jackson.map.ext that return JsonNode
 JsonNode DOMSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JodaSerializers.DateTimeSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 

Uses of JsonNode in org.codehaus.jackson.map.ser
 

Methods in org.codehaus.jackson.map.ser that return JsonNode
 JsonNode EnumSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JdkSerializers.FileSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
abstract  JsonNode SerializerBase.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdKeySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.ObjectArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.StringArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.BooleanArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.ByteArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.ShortArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.CharArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.IntArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.LongArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.FloatArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.DoubleArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.IndexedListSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.CollectionSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.IteratorSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.IterableSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.EnumSetSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.EnumMapSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BeanSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JsonValueSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode MapSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ToStringSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.BooleanSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.StringSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.ClassSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.IntegerSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.IntLikeSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.LongSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.FloatSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.DoubleSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.NumberSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.CalendarSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.UtilDateSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.SqlDateSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.SqlTimeSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.NullSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.SerializableSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 

Uses of JsonNode in org.codehaus.jackson.node
 

Subclasses of JsonNode in org.codehaus.jackson.node
 class ArrayNode
          Node class that represents Arrays mapped from Json content.
 class BaseJsonNode
          Abstract base class common to all standard JsonNode implementations.
 class BigIntegerNode
          Numeric node that contains simple 64-bit integer values.
 class BinaryNode
          Value node that contains Base64 encoded binary value, which will be output and stored as Json String value.
 class BooleanNode
          This concrete value class is used to contain boolean (true / false) values.
 class ContainerNode
          This intermediate base class is used for all container nodes, specifically, array and object nodes.
 class DecimalNode
          Numeric node that contains values that do not fit in simple integer (int, long) or floating point (double) values.
 class DoubleNode
          Numeric node that contains 64-bit ("double precision") floating point values simple 32-bit integer values.
 class IntNode
          Numeric node that contains simple 32-bit integer values.
 class LongNode
          Numeric node that contains simple 64-bit integer values.
 class MissingNode
          This singleton node class is generated to denote "missing nodes" along paths that do not exist.
 class NullNode
          This singleton value class is used to contain explicit JSON null value.
 class NumericNode
          Intermediate value node used for numeric nodes.
 class ObjectNode
          Note that maps to Json Object structures in Json content.
 class POJONode
          Value node that contains a wrapped POJO, to be serialized as a Json constructed through data mapping (usually done by calling ObjectMapper).
 class TextNode
          Value node that contains a text value.
 class ValueNode
          This intermediate base class is used for all leaf nodes, that is, all non-container (array or object) nodes, except for the "missing node".
 

Methods in org.codehaus.jackson.node that return JsonNode
 JsonNode ArrayNode._set(int index, JsonNode value)
           
 JsonNode ArrayNode.addAll(ArrayNode other)
          Method for adding all child nodes of given Array, appending to child nodes this array contains
 JsonNode ArrayNode.addAll(Collection<JsonNode> nodes)
          Method for adding given nodes as child nodes of this array node.
protected  JsonNode TreeTraversingParser.currentNode()
           
protected  JsonNode TreeTraversingParser.currentNumericNode()
           
abstract  JsonNode ContainerNode.get(int index)
           
 JsonNode ArrayNode.get(int index)
           
 JsonNode ObjectNode.get(int index)
           
abstract  JsonNode ContainerNode.get(String fieldName)
           
 JsonNode ArrayNode.get(String fieldName)
           
 JsonNode ObjectNode.get(String fieldName)
           
 JsonNode ContainerNode.NoNodesIterator.next()
           
 JsonNode ArrayNode.path(int index)
           
 JsonNode ValueNode.path(int index)
           
 JsonNode MissingNode.path(int index)
           
 JsonNode ObjectNode.path(int index)
           
 JsonNode ArrayNode.path(String fieldName)
           
 JsonNode ValueNode.path(String fieldName)
           
 JsonNode MissingNode.path(String fieldName)
           
 JsonNode ObjectNode.path(String fieldName)
           
 JsonNode ObjectNode.put(String fieldName, JsonNode value)
          Method that will set specified field, replacing old value, if any.
 JsonNode ObjectNode.putAll(Map<String,JsonNode> properties)
          Method for adding given properties to this object node, overriding any existing values for those properties.
 JsonNode ObjectNode.putAll(ObjectNode other)
          Method for adding all properties of the given Object, overriding any existing values for those properties.
 JsonNode ArrayNode.remove(int index)
          Method for removing an entry from this ArrayNode.
 JsonNode ObjectNode.remove(String fieldName)
          Method for removing field entry from this ObjectNode.
 JsonNode ArrayNode.set(int index, JsonNode value)
          Method that will set specified field, replacing old value, if any.
 

Methods in org.codehaus.jackson.node that return types with arguments of type JsonNode
 Iterator<JsonNode> ArrayNode.getElements()
           
 Iterator<JsonNode> ObjectNode.getElements()
           
 Iterator<Map.Entry<String,JsonNode>> ObjectNode.getFields()
          Method to use for accessing all fields (with both names and values) of this Json Object.
 Map.Entry<String,JsonNode> ObjectNode.NoFieldsIterator.next()
           
 

Methods in org.codehaus.jackson.node with parameters of type JsonNode
 JsonNode ArrayNode._set(int index, JsonNode value)
           
 void ArrayNode.add(JsonNode value)
           
 void ArrayNode.insert(int index, JsonNode value)
          Method for inserting specified child node as an element of this Array.
 JsonNode ObjectNode.put(String fieldName, JsonNode value)
          Method that will set specified field, replacing old value, if any.
 JsonNode ArrayNode.set(int index, JsonNode value)
          Method that will set specified field, replacing old value, if any.
 

Method parameters in org.codehaus.jackson.node with type arguments of type JsonNode
 JsonNode ArrayNode.addAll(Collection<JsonNode> nodes)
          Method for adding given nodes as child nodes of this array node.
 JsonNode ObjectNode.putAll(Map<String,JsonNode> properties)
          Method for adding given properties to this object node, overriding any existing values for those properties.
 

Constructors in org.codehaus.jackson.node with parameters of type JsonNode
TreeTraversingParser(JsonNode n)
           
TreeTraversingParser(JsonNode n, ObjectCodec codec)
           
 

Uses of JsonNode in org.codehaus.jackson.schema
 

Methods in org.codehaus.jackson.schema that return JsonNode
static JsonNode JsonSchema.getDefaultSchemaNode()
          Get the default schema node.
 JsonNode SchemaAware.getSchema(SerializerProvider provider, Type typeHint)
          Get the representation of the schema to which this serializer will conform.
 

Uses of JsonNode in org.codehaus.jackson.util
 

Methods in org.codehaus.jackson.util with parameters of type JsonNode
 void JsonGeneratorDelegate.writeTree(JsonNode rootNode)
           
 

Uses of JsonNode in org.codehaus.jackson.xc
 

Methods in org.codehaus.jackson.xc that return JsonNode
 JsonNode DataHandlerJsonSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode XmlAdapterJsonSerializer.getSchema(SerializerProvider provider, Type typeHint)