程序包 | 说明 |
---|---|
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
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
org.codehaus.jackson.map.deser |
Contains implementation classes of deserialization part of
data binding.
|
org.codehaus.jackson.map.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
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.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.registerModule(org.codehaus.jackson.map.Module) . |
org.codehaus.jackson.map.ser |
Contains implementation classes of serialization part of
data binding.
|
org.codehaus.jackson.map.ser.impl |
Contains implementation classes of serialization part of
data binding.
|
org.codehaus.jackson.map.ser.std | |
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, such
as handlers for JAXB annotations
|
限定符和类型 | 字段和说明 |
---|---|
protected static List<JsonNode> |
JsonNode.NO_NODES |
限定符和类型 | 方法和说明 |
---|---|
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.
|
abstract JsonNode |
JsonNode.findParent(String fieldName)
Method for finding a JSON Object that contains specified field,
within this node or its descendants.
|
abstract JsonNode |
JsonNode.findPath(String fieldName)
Method similar to
findValue(java.lang.String) , but that will return a
"missing node" instead of null if no field is found. |
abstract JsonNode |
JsonNode.findValue(String fieldName)
Method for finding a JSON Object field with specified name in this
node or its child nodes, and returning value it has.
|
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.getPath(int index)
已过时。
Use
path(int) instead |
JsonNode |
JsonNode.getPath(String fieldName)
已过时。
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. |
JsonNode |
JsonNode.with(String propertyName)
Method that can be called on object nodes, to access a property
that has object value; or if no such property exists, to create and
return such object node.
|
限定符和类型 | 方法和说明 |
---|---|
List<JsonNode> |
JsonNode.findParents(String fieldName)
Method for finding a JSON Object that contains specified field,
within this node or its descendants.
|
abstract List<JsonNode> |
JsonNode.findParents(String fieldName,
List<JsonNode> foundSoFar) |
List<JsonNode> |
JsonNode.findValues(String fieldName)
Method for finding JSON Object fields with specified name, and returning
found ones as a List.
|
abstract List<JsonNode> |
JsonNode.findValues(String fieldName,
List<JsonNode> foundSoFar) |
Iterator<JsonNode> |
JsonNode.getElements()
Method for accessing all value nodes of this Node, iff
this node is a JSON Array or Object node.
|
Iterator<Map.Entry<String,JsonNode>> |
JsonNode.getFields() |
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. |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
abstract List<JsonNode> |
JsonNode.findParents(String fieldName,
List<JsonNode> foundSoFar) |
abstract List<JsonNode> |
JsonNode.findValues(String fieldName,
List<JsonNode> foundSoFar) |
限定符和类型 | 方法和说明 |
---|---|
void |
JsonGeneratorBase.writeTree(JsonNode rootNode) |
限定符和类型 | 方法和说明 |
---|---|
<T extends JsonNode> |
ObjectMapper.valueToTree(Object fromValue)
Reverse of
ObjectMapper.treeToValue(org.codehaus.jackson.JsonNode, java.lang.Class<T>) ; given a value (usually bean), will
construct equivalent JSON Tree representation. |
限定符和类型 | 方法和说明 |
---|---|
protected JsonNode |
ObjectReader._bindAndCloseAsTree(JsonParser jp) |
protected JsonNode |
ObjectReader._bindAsTree(JsonParser jp) |
JsonNode |
ObjectReader.createArrayNode() |
JsonNode |
ObjectReader.createObjectNode() |
JsonNode |
ObjectMapper.readTree(byte[] content)
Method to deserialize JSON content as tree expressed using set of
JsonNode instances. |
JsonNode |
ObjectMapper.readTree(File file)
Method to deserialize JSON content as tree expressed using set of
JsonNode instances. |
JsonNode |
ObjectReader.readTree(InputStream in)
Method that reads content from given input source,
using configuration of this reader, and binds it as JSON Tree.
|
JsonNode |
ObjectMapper.readTree(InputStream in)
Method to deserialize JSON content as tree expressed
using set of
JsonNode instances. |
JsonNode |
ObjectReader.readTree(JsonParser jp)
Convenience method that binds content read using given parser, using
configuration of this reader, except that content is bound as
JSON tree instead of configured root value type.
|
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 |
ObjectReader.readTree(Reader r)
Method that reads content from given input source,
using configuration of this reader, and binds it as JSON Tree.
|
JsonNode |
ObjectMapper.readTree(Reader r)
Method to deserialize JSON content as tree expressed
using set of
JsonNode instances. |
JsonNode |
ObjectReader.readTree(String content)
Method that reads content from given JSON input String,
using configuration of this reader, and binds it as JSON Tree.
|
JsonNode |
ObjectMapper.readTree(String content)
Method to deserialize JSON content as tree expressed using set of
JsonNode instances. |
JsonNode |
ObjectMapper.readTree(URL source)
Method to deserialize JSON content as tree expressed using set of
JsonNode instances. |
限定符和类型 | 方法和说明 |
---|---|
<T> T |
ObjectReader.readValue(JsonNode src)
Convenience method for converting results from given JSON tree into given
value type.
|
<T> T |
ObjectMapper.readValue(JsonNode root,
Class<T> valueType)
Convenience method for converting results from given JSON tree into given
value type.
|
<T> T |
ObjectMapper.readValue(JsonNode root,
JavaType valueType)
Convenience method for converting results from given JSON tree into given
value type.
|
<T> T |
ObjectMapper.readValue(JsonNode root,
TypeReference valueTypeRef)
Convenience method for converting results from given JSON tree into given
value type.
|
JsonParser |
ObjectReader.treeAsTokens(JsonNode n) |
JsonParser |
ObjectMapper.treeAsTokens(JsonNode n)
Method for constructing a
JsonParser out of JSON tree
representation. |
<T> T |
ObjectReader.treeToValue(JsonNode n,
Class<T> valueType) |
<T> T |
ObjectMapper.treeToValue(JsonNode n,
Class<T> valueType)
Convenience conversion method that will bind data given JSON tree
contains into specific value (usually bean) type.
|
void |
ObjectReader.writeTree(JsonGenerator jgen,
JsonNode rootNode)
NOTE: NOT implemented for
ObjectReader . |
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.
|
限定符和类型 | 方法和说明 |
---|---|
JsonDeserializer<?> |
Deserializers.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType,
DeserializationConfig config,
BeanProperty property)
Method called to locate deserializer for specified JSON tree node type.
|
JsonDeserializer<?> |
Deserializers.Base.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType,
DeserializationConfig config,
BeanProperty property) |
限定符和类型 | 方法和说明 |
---|---|
protected JsonNode |
JsonNodeDeserializer.deserializeAny(JsonParser jp,
DeserializationContext ctxt)
已过时。
since 1.9.0
|
限定符和类型 | 方法和说明 |
---|---|
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomTreeNodeDeserializer(Class<? extends JsonNode> type,
DeserializationConfig config,
BeanProperty property) |
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomTreeNodeDeserializer(Class<? extends JsonNode> type,
DeserializationConfig config,
BeanProperty property) |
限定符和类型 | 方法和说明 |
---|---|
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).
|
限定符和类型 | 方法和说明 |
---|---|
static JsonDeserializer<? extends JsonNode> |
JsonNodeDeserializer.getDeserializer(Class<?> nodeClass)
Factory method for accessing deserializer for specific node type
|
限定符和类型 | 方法和说明 |
---|---|
JsonNode |
JodaSerializers.DateTimeSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
JodaSerializers.LocalDateTimeSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
JodaSerializers.LocalDateSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
JodaSerializers.DateMidnightSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
DOMSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
CoreXMLSerializers.XMLGregorianCalendarSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
限定符和类型 | 方法和说明 |
---|---|
JsonDeserializer<?> |
SimpleDeserializers.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType,
DeserializationConfig config,
BeanProperty property) |
限定符和类型 | 方法和说明 |
---|---|
JsonNode |
StdSerializers.BooleanSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdSerializers.StringSerializer.getSchema(SerializerProvider provider,
Type typeHint)
已过时。
|
JsonNode |
StdSerializers.IntegerSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdSerializers.IntLikeSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdSerializers.LongSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdSerializers.FloatSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdSerializers.DoubleSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdSerializers.NumberSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdSerializers.SqlDateSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdSerializers.SqlTimeSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
限定符和类型 | 方法和说明 |
---|---|
JsonNode |
UnknownSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
FailingSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
限定符和类型 | 方法和说明 |
---|---|
protected JsonNode |
StringCollectionSerializer.contentSchema() |
protected abstract JsonNode |
StaticListSerializerBase.contentSchema() |
protected JsonNode |
IndexedStringListSerializer.contentSchema() |
JsonNode |
ToStringSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
TokenBufferSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StringSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdKeySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdJdkSerializers.AtomicBooleanSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdJdkSerializers.AtomicIntegerSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdJdkSerializers.AtomicLongSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdJdkSerializers.AtomicReferenceSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdJdkSerializers.FileSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdJdkSerializers.ClassSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdArraySerializers.StringArraySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdArraySerializers.BooleanArraySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdArraySerializers.ByteArraySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdArraySerializers.ShortArraySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdArraySerializers.CharArraySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdArraySerializers.IntArraySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdArraySerializers.LongArraySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdArraySerializers.FloatArraySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdArraySerializers.DoubleArraySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StaticListSerializerBase.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
SerializerBase.getSchema(SerializerProvider provider,
Type typeHint)
Note: since Jackson 1.9, default implementation claims type is "string"
|
JsonNode |
SerializableWithTypeSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
SerializableSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
ScalarSerializerBase.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
RawSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
ObjectArraySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
NullSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
MapSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
JsonValueSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
EnumSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
EnumMapSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
DateSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
CalendarSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
BeanSerializerBase.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
AsArraySerializerBase.getSchema(SerializerProvider provider,
Type typeHint) |
限定符和类型 | 类和说明 |
---|---|
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
Node 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".
|
限定符和类型 | 字段和说明 |
---|---|
protected LinkedHashMap<String,JsonNode> |
ObjectNode._children |
protected ArrayList<JsonNode> |
ArrayNode._children |
限定符和类型 | 方法和说明 |
---|---|
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() |
JsonNode |
BaseJsonNode.findPath(String fieldName) |
JsonNode |
ObjectNode.findValue(String fieldName) |
abstract JsonNode |
ContainerNode.findValue(String fieldName) |
JsonNode |
BaseJsonNode.findValue(String fieldName) |
JsonNode |
ArrayNode.findValue(String fieldName) |
JsonNode |
ObjectNode.get(int index) |
abstract JsonNode |
ContainerNode.get(int index) |
JsonNode |
ArrayNode.get(int index) |
JsonNode |
ObjectNode.get(String fieldName) |
abstract JsonNode |
ContainerNode.get(String fieldName) |
JsonNode |
ArrayNode.get(String fieldName) |
JsonNode |
ContainerNode.NoNodesIterator.next() |
JsonNode |
ValueNode.path(int index) |
JsonNode |
ObjectNode.path(int index) |
JsonNode |
MissingNode.path(int index) |
JsonNode |
ArrayNode.path(int index) |
JsonNode |
ValueNode.path(String fieldName) |
JsonNode |
ObjectNode.path(String fieldName) |
JsonNode |
MissingNode.path(String fieldName) |
JsonNode |
ArrayNode.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.
|
限定符和类型 | 方法和说明 |
---|---|
List<JsonNode> |
ObjectNode.findParents(String fieldName,
List<JsonNode> foundSoFar) |
abstract List<JsonNode> |
ContainerNode.findParents(String fieldName,
List<JsonNode> foundSoFar) |
List<JsonNode> |
BaseJsonNode.findParents(String fieldName,
List<JsonNode> foundSoFar) |
List<JsonNode> |
ArrayNode.findParents(String fieldName,
List<JsonNode> foundSoFar) |
List<JsonNode> |
ObjectNode.findValues(String fieldName,
List<JsonNode> foundSoFar) |
abstract List<JsonNode> |
ContainerNode.findValues(String fieldName,
List<JsonNode> foundSoFar) |
List<JsonNode> |
BaseJsonNode.findValues(String fieldName,
List<JsonNode> foundSoFar) |
List<JsonNode> |
ArrayNode.findValues(String fieldName,
List<JsonNode> foundSoFar) |
Iterator<JsonNode> |
ObjectNode.getElements() |
Iterator<JsonNode> |
ArrayNode.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() |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
JsonNode |
ArrayNode.addAll(Collection<JsonNode> nodes)
Method for adding given nodes as child nodes of this array node.
|
protected void |
ArrayNode.addContentsTo(List<JsonNode> dst) |
List<JsonNode> |
ObjectNode.findParents(String fieldName,
List<JsonNode> foundSoFar) |
abstract List<JsonNode> |
ContainerNode.findParents(String fieldName,
List<JsonNode> foundSoFar) |
List<JsonNode> |
BaseJsonNode.findParents(String fieldName,
List<JsonNode> foundSoFar) |
List<JsonNode> |
ArrayNode.findParents(String fieldName,
List<JsonNode> foundSoFar) |
List<JsonNode> |
ObjectNode.findValues(String fieldName,
List<JsonNode> foundSoFar) |
abstract List<JsonNode> |
ContainerNode.findValues(String fieldName,
List<JsonNode> foundSoFar) |
List<JsonNode> |
BaseJsonNode.findValues(String fieldName,
List<JsonNode> foundSoFar) |
List<JsonNode> |
ArrayNode.findValues(String fieldName,
List<JsonNode> foundSoFar) |
JsonNode |
ObjectNode.putAll(Map<String,JsonNode> properties)
Method for adding given properties to this object node, overriding
any existing values for those properties.
|
protected void |
ObjectNode.putContentsTo(Map<String,JsonNode> dst) |
构造器和说明 |
---|
TreeTraversingParser(JsonNode n) |
TreeTraversingParser(JsonNode n,
ObjectCodec codec) |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
void |
TokenBuffer.writeTree(JsonNode rootNode) |
void |
JsonGeneratorDelegate.writeTree(JsonNode rootNode) |
限定符和类型 | 方法和说明 |
---|---|
JsonNode |
XmlAdapterJsonSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
DomElementJsonSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
DataHandlerJsonSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
限定符和类型 | 方法和说明 |
---|---|
protected Element |
DomElementJsonDeserializer.fromNode(Document document,
JsonNode jsonNode) |