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:
- JSON Schema Definition Language (JSD), for Consumer Driven Contracts, for instance.
- A Java API for binding to JSDs, implemented with annotations to be light-coupling.
- A JSD->Java binding generator, and a Java->JSD reverse generator.
jsonx-maven-plugin, for generating binding classes during the
generate-sourcesphase, for instance.
- A JAX-RS provider for
MessageBodyWriter, to plug into a JAX-RS runtime.
- 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.