您好dev.to社区,我想分享我两天前发布的开源项目,并要求发表评论。 该项目称为JSONx框架,它的创建是为了帮助开发人员使用Java中的JSON。 我于2015年启动了这个项目,并投入了数百小时的时间。 简而言之,JSONx框架提供:
- 例如,用于消费者驱动合同的JSON模式定义语言(JSD)。用于绑定到JSD的Java API,通过注释实现,以实现轻耦合。一种JSD->Java binding generator,和a Java->JSD reverse generator.一种jsonx-maven-plugin,用于在产生源例如,阶段。一种JAX-RS provider for MessageBodyReader和MessageBodyWriter,以插入JAX-RS运行时。一种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.