Uses of Class
org.codehaus.jackson.node.ObjectNode
Packages that use ObjectNode
Package
Description
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
Contains implementation classes of deserialization part of
data binding.
Contains concrete
JsonNode
implementations
Jackson uses for the Tree model.Classes needed for JSON schema support (currently just ability
to generate schemas using serialization part of data mapping)
-
Uses of ObjectNode in org.codehaus.jackson.map
Methods in org.codehaus.jackson.map that return ObjectNodeModifier and TypeMethodDescriptionObjectMapper.createObjectNode()
Note: return type is co-variant, as basic ObjectCodec abstraction can not refer to concrete node types (as it's part of core package, whereas impls are part of mapper package) -
Uses of ObjectNode in org.codehaus.jackson.map.deser
Methods in org.codehaus.jackson.map.deser that return ObjectNodeModifier and TypeMethodDescriptionprotected final ObjectNode
JsonNodeDeserializer.deserializeObject
(JsonParser jp, DeserializationContext ctxt) Deprecated.since 1.9.0 -
Uses of ObjectNode in org.codehaus.jackson.map.ser.std
Methods in org.codehaus.jackson.map.ser.std that return ObjectNodeModifier and TypeMethodDescriptionprotected ObjectNode
SerializerBase.createObjectNode()
protected ObjectNode
SerializerBase.createSchemaNode
(String type) protected ObjectNode
SerializerBase.createSchemaNode
(String type, boolean isOptional) -
Uses of ObjectNode in org.codehaus.jackson.node
Methods in org.codehaus.jackson.node that return ObjectNodeModifier and TypeMethodDescriptionArrayNode.addObject()
Method that will construct an ObjectNode and add it at the end of this array node.ArrayNode.findParent
(String fieldName) BaseJsonNode.findParent
(String fieldName) abstract ObjectNode
ContainerNode.findParent
(String fieldName) ObjectNode.findParent
(String fieldName) ArrayNode.insertObject
(int index) Method that will construct an ObjectNode and add it at the end of this array node.final ObjectNode
ContainerNode.objectNode()
Factory method that constructs and returns an emptyObjectNode
Construction is done using registeredJsonNodeFactory
.JsonNodeFactory.objectNode()
Factory method for constructing an empty JSON Object ("struct") nodeMethod that will construct an ObjectNode and add it as a field of this ObjectNode, replacing old value, if any.ObjectNode.remove
(Collection<String> fieldNames) Method for removing specified field properties out of this ObjectNode.ObjectNode.removeAll()
Method for removing all field properties, such that this ObjectNode will contain no properties after call.Method for removing all field properties out of this ObjectNode except for ones specified in argument.ObjectNode.retain
(Collection<String> fieldNames) Method for removing all field properties out of this ObjectNode except for ones specified in argument.Methods in org.codehaus.jackson.node with parameters of type ObjectNodeModifier and TypeMethodDescriptionObjectNode.putAll
(ObjectNode other) Method for adding all properties of the given Object, overriding any existing values for those properties. -
Uses of ObjectNode in org.codehaus.jackson.schema
Methods in org.codehaus.jackson.schema that return ObjectNodeModifier and TypeMethodDescriptionJsonSchema.getSchemaNode()
Method for accessing root JSON object of the contained schema.Constructors in org.codehaus.jackson.schema with parameters of type ObjectNodeModifierConstructorDescriptionJsonSchema
(ObjectNode schema) Main constructor for schema instances.