RFC: JSONx Framework

sevasafris

Seva Safris

Posted on May 15, 2019

RFC: JSONx Framework

Hi dev.to community, I wanted to share an open-source project I released 2 days ago, and request for comment. The project is called JSONx Framework, and it is created to help developers work with JSON in Java. I started this project in 2015, and have invested hundreds and hundreds of hours into it. In short, the JSONx Framework provides:

  1. JSON Schema Definition Language (JSD), for Consumer Driven Contracts, for instance.
  2. A Java API for binding to JSDs, implemented with annotations to be light-coupling.
  3. A JSD->Java binding generator, and a Java->JSD reverse generator.
  4. A jsonx-maven-plugin, for generating binding classes during the generate-sources phase, for instance.
  5. A JAX-RS provider for MessageBodyReader and MessageBodyWriter, to plug into a JAX-RS runtime.
  6. A sample project called: "Consumer Driven Contracts".

The project is thoroughly tested via a custom test framework that generates random JSON documents (392000 with each run) conforming to a schema that expresses the full declarative scope of the JSD language, across all success and failure cases.
The project is available here: JSONx.
I would very much appreciate a glance, a star, or trying it out. It has been a loooooong time coming for me to release this, and I'm excited contribute this work to the open-source community.

💖 💪 🙅 🚩
sevasafris
Seva Safris

Posted on May 15, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related