Overview of Jolt
masterJolt is a JSON-to-JSON transformation library written in Java. It uses a JSON document as a "specification" to define how data should be transformed.
Key characteristics:
- Structural Focus: Jolt is designed to transform the structure of JSON data rather than manipulating specific values. The recommended pattern is to use Jolt for structural changes and use custom Java code for value manipulation.
- Chained Transforms: You can chain multiple transforms together to form a complete transformation pipeline.
- Hydrated JSON: Jolt operates on "hydrated" JSON, which is an in-memory tree of Java objects (Maps, Lists, Strings, etc.). You should use a library like Jackson to handle the initial serialization/deserialization of JSON text into these objects.