Uses of Class
com.fasterxml.jackson.databind.node.ObjectNode
-
Packages that use ObjectNode Package Description com.fasterxml.jackson.databind Basic data binding (mapping) functionality that allows for reading JSON content into Java Objects (POJOs) and JSON Trees (JsonNode), as well as writing Java Objects and trees as JSON.com.fasterxml.jackson.databind.jsonschema Classes needed for JSON schema support (currently just ability to generate schemas using serialization part of data mapping)com.fasterxml.jackson.databind.node Contains concreteJsonNodeimplementations Jackson uses for the Tree model.com.fasterxml.jackson.databind.ser Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.ser.impl Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.ser.std -
-
Uses of ObjectNode in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return ObjectNode Modifier and Type Method Description ObjectNodeObjectMapper. createObjectNode()Note: return type is co-variant, as basic ObjectCodec abstraction cannot refer to concrete node types (as it's part of core package, whereas impls are part of mapper package) -
Uses of ObjectNode in com.fasterxml.jackson.databind.jsonschema
Methods in com.fasterxml.jackson.databind.jsonschema that return ObjectNode Modifier and Type Method Description ObjectNodeJsonSchema. getSchemaNode()Deprecated.Method for accessing root JSON object of the contained schema.Constructors in com.fasterxml.jackson.databind.jsonschema with parameters of type ObjectNode Constructor Description JsonSchema(ObjectNode schema)Deprecated.Main constructor for schema instances. -
Uses of ObjectNode in com.fasterxml.jackson.databind.node
Methods in com.fasterxml.jackson.databind.node that return ObjectNode Modifier and Type Method Description protected ObjectNodeObjectNode. _put(String fieldName, JsonNode value)ObjectNodeArrayNode. addObject()Method that will construct an ObjectNode and add it at the end of this array node.ObjectNodeObjectNode. deepCopy()ObjectNodeArrayNode. findParent(String fieldName)ObjectNodeObjectNode. findParent(String fieldName)ObjectNodeValueNode. findParent(String fieldName)ObjectNodeArrayNode. insertObject(int index)Method for creating anObjectNode, appending it at the end of this array, and returning the newly created node (note: NOT 'this' array)ObjectNodeContainerNode. objectNode()Factory method that constructs and returns an emptyObjectNodeConstruction is done using registeredJsonNodeFactory.ObjectNodeJsonNodeCreator. objectNode()ObjectNodeJsonNodeFactory. objectNode()Factory method for constructing an empty JSON Object ("struct") nodeObjectNodeObjectNode. put(String fieldName, boolean v)Method for setting value of a field to specified String value.ObjectNodeObjectNode. put(String fieldName, byte[] v)Method for setting value of a field to specified binary valueObjectNodeObjectNode. put(String fieldName, double v)Method for setting value of a field to specified numeric value.ObjectNodeObjectNode. put(String fieldName, float v)Method for setting value of a field to specified numeric value.ObjectNodeObjectNode. put(String fieldName, int v)Method for setting value of a field to specified numeric value.ObjectNodeObjectNode. put(String fieldName, long v)Method for setting value of a field to specified numeric value.ObjectNodeObjectNode. put(String fieldName, short v)Method for setting value of a field to specified numeric value.ObjectNodeObjectNode. put(String fieldName, Boolean v)Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.ObjectNodeObjectNode. put(String fieldName, Double v)Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.ObjectNodeObjectNode. put(String fieldName, Float v)Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.ObjectNodeObjectNode. put(String fieldName, Integer v)Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.ObjectNodeObjectNode. put(String fieldName, Long v)Method for setting value of a field to specified numeric value.ObjectNodeObjectNode. put(String fieldName, Short v)Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.ObjectNodeObjectNode. put(String fieldName, String v)Method for setting value of a field to specified String value.ObjectNodeObjectNode. put(String fieldName, BigDecimal v)Method for setting value of a field to specified numeric value.ObjectNodeObjectNode. put(String fieldName, BigInteger v)Method for setting value of a field to specified numeric value.ObjectNodeObjectNode. putNull(String fieldName)ObjectNodeObjectNode. putObject(String fieldName)Method that will construct an ObjectNode and add it as a field of this ObjectNode, replacing old value, if any.ObjectNodeObjectNode. putPOJO(String fieldName, Object pojo)ObjectNodeObjectNode. putRawValue(String fieldName, RawValue raw)ObjectNodeObjectNode. remove(Collection<String> fieldNames)Method for removing specified field properties out of this ObjectNode.ObjectNodeObjectNode. removeAll()Method for removing all field properties, such that this ObjectNode will contain no properties after call.ObjectNodeObjectNode. retain(String... fieldNames)Method for removing all field properties out of this ObjectNode except for ones specified in argument.ObjectNodeObjectNode. retain(Collection<String> fieldNames)Method for removing all field properties out of this ObjectNode except for ones specified in argument.ObjectNodeObjectNode. with(String propertyName)Methods in com.fasterxml.jackson.databind.node with parameters of type ObjectNode Modifier and Type Method Description protected booleanObjectNode. _childrenEqual(ObjectNode other)JsonNodeObjectNode. putAll(ObjectNode other)Deprecated.Since 2.4 usesetAll(ObjectNode),<T extends JsonNode>
TObjectNode. setAll(ObjectNode other)Method for adding all properties of the given Object, overriding any existing values for those properties. -
Uses of ObjectNode in com.fasterxml.jackson.databind.ser
Methods in com.fasterxml.jackson.databind.ser with parameters of type ObjectNode Modifier and Type Method Description protected voidBeanPropertyWriter. _depositSchemaProperty(ObjectNode propertiesNode, JsonNode schemaNode)voidBeanPropertyFilter. depositSchemaProperty(BeanPropertyWriter writer, ObjectNode propertiesNode, SerializerProvider provider)Deprecated.Since 2.3: new code should use the alternativedepositSchemaPropertymethodvoidBeanPropertyWriter. depositSchemaProperty(ObjectNode propertiesNode, SerializerProvider provider)Deprecated.voidPropertyFilter. depositSchemaProperty(PropertyWriter writer, ObjectNode propertiesNode, SerializerProvider provider)Deprecated.Since 2.3: new code should use the alternativedepositSchemaPropertymethodabstract voidPropertyWriter. depositSchemaProperty(ObjectNode propertiesNode, SerializerProvider provider)Deprecated.Since 2.2 -
Uses of ObjectNode in com.fasterxml.jackson.databind.ser.impl
Methods in com.fasterxml.jackson.databind.ser.impl with parameters of type ObjectNode Modifier and Type Method Description protected voidUnwrappingBeanPropertyWriter. _depositSchemaProperty(ObjectNode propertiesNode, JsonNode schemaNode)voidSimpleBeanPropertyFilter. depositSchemaProperty(BeanPropertyWriter writer, ObjectNode propertiesNode, SerializerProvider provider)Deprecated.voidSimpleBeanPropertyFilter. depositSchemaProperty(PropertyWriter writer, ObjectNode propertiesNode, SerializerProvider provider)Deprecated. -
Uses of ObjectNode in com.fasterxml.jackson.databind.ser.std
Methods in com.fasterxml.jackson.databind.ser.std that return ObjectNode Modifier and Type Method Description protected ObjectNodeStdSerializer. createSchemaNode(String type)protected ObjectNodeStdSerializer. createSchemaNode(String type, boolean isOptional)Methods in com.fasterxml.jackson.databind.ser.std with parameters of type ObjectNode Modifier and Type Method Description voidMapProperty. depositSchemaProperty(ObjectNode propertiesNode, SerializerProvider provider)Deprecated.
-