Java JSON processing - Object Model API Example Project

[Updated: Sep 10, 2016, Created: Nov 22, 2015]

This example project demonstrate how to generate, modify and search JSON tree. The most of the JSON API usage is in InMemoryJsonEmployeeService. This example uses Quick CLI to demonstrate how we can use JSON Object Model API in real application. I would suggest to download the example project and play with JSON API yourself. Since IDE doesn't support command line input well, the best way to run the example would be to go to the the project root (where the pom.xml is) and run mvn exec:java which will run the main method.


Example Project

Dependencies and Technologies Used :

  • JSR 353 (JSON Processing) API 1.0: API module of JSR 353:Java API for Processing JSON.
  • JSR 353 (JSON Processing) Default Provider 1.0.4: Default provider for JSR 353:Java API for Processing JSON.
  • com.logicbig.cli:quick-cli 1.0
  • DataFactory 0.8: Library to generate data for testing.
  • JDK 1.8
  • Maven 3.0.4

Object Model Example Select All Download
  • employee-json-project
    • src
      • main
        • java
          • com
            • logicbig
              • examples
                • json
                  • employee
                    • service

See Also