Examples for JSON manipulation using Jolt and in different scenarios like programmatic manipulation, transforming the result from a RESTful webservice (JAX-RS) using a servlet filter and finally using Apache Camel.
$ mvn clean compile exec:java -Dexec.mainClass=com.hascode.tutorial.RestServer
$ mvn clean compile exec:java -Dexec.mainClass=com.hascode.tutorial.CustomJsonTransformer
mvn clean compile exec:java -Dexec.mainClass=com.hascode.tutorial.CamelExample
Now copy the JSON file to the directory named scanned and you should receive the transformed JSON file in the directory named transformed.
For more of my experiments please feel free to visit my blog at www.hascode.com or to have a look at my project repositories.
2017 Micha Kops / hasCode.com