Package com.flipkart.zjsonpatch.mapping.jackson2
package com.flipkart.zjsonpatch.mapping.jackson2
Jackson 2.x specific wrapper implementations.
This package contains concrete implementations of the mapping layer interfaces specifically designed to work with Jackson 2.x (com.fasterxml.jackson.databind) APIs. These classes provide the bridge between the generic wrapper interfaces and Jackson 2.x native types.
Key Classes
Jackson2NodeWrapper- Wraps Jackson 2.x JsonNodeJackson2ArrayNodeWrapper- Wraps Jackson 2.x ArrayNodeJackson2ObjectNodeWrapper- Wraps Jackson 2.x ObjectNodeJackson2NodeFactory- Wraps Jackson 2.x JsonNodeFactory
Dependencies
This package requires Jackson 2.x libraries to be present on the classpath:
- com.fasterxml.jackson.core:jackson-core
- com.fasterxml.jackson.core:jackson-databind
These implementations are automatically selected when the actual runtime node
is an instance of com.fasterxml.jackson.databind.JsonNode (Jackson 2.x).
Selection is based on the node type itself, not on classpath availability or
system properties. When both Jackson 2.x and 3.x are present, the appropriate
wrapper is chosen based on the specific node instance being processed.
- Since:
- 0.6.0
- Author:
- Mariusz Sondecki
-
Classes