Jetro provides a JSON transformation engine and a comprehensive JSON tree API. It allows transforming any JSON source representation into any JSON target representation applying arbitrary changes while doing so.
The supported JSON representations are String, Stream, JSON tree and Java objects.
The transformation API is a fully fluent API, or eDSL, letting the user define which part of which JSON source representation should be transformed into which JSON target representation applying which transformations. The transformations themselves are also expressed fluently. The transformations are defined as actions executed at JsonPaths.
The JSON tree API is Java Collections Framework compatible as JsonObjects implement Set<JsonProperty> and can also be viewed as Map<String, JsonType>. JsonArrays implement List<JsonType>. Besides that the JSON tree API also supports getting, adding, updating, removing, converting and copying subparts of any tree at defined JsonPaths.
Be the first to post a review of Jetro!