Class InternalNodeMapper
java.lang.Object
com.fasterxml.jackson.databind.node.InternalNodeMapper
Helper class used to implement
toString() method for
BaseJsonNode, by embedding a private instance of
JsonMapper, only to be used for node serialization.- Since:
- 2.10 (but not to be included in 3.0)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final classOptimized variant similar in functionality to (a subset of)ArrayDeque; used to hold enclosing Array/Object nodes during recursion-as-iteration.protected static classIntermediate serializer we need to implement non-recursive serialization ofBaseJsonNode. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final JsonMapperprivate static final ObjectReaderprivate static final ObjectWriterprivate static final ObjectWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static JsonSerializable_wrapper(BaseJsonNode root) static JsonNodebytesToNode(byte[] json) static Stringstatic Stringstatic byte[]valueToBytes(Object value)
-
Field Details
-
JSON_MAPPER
-
STD_WRITER
-
PRETTY_WRITER
-
NODE_READER
-
-
Constructor Details
-
InternalNodeMapper
InternalNodeMapper()
-
-
Method Details
-
nodeToString
-
nodeToPrettyString
-
valueToBytes
- Throws:
IOException
-
bytesToNode
- Throws:
IOException
-
_wrapper
-