What are the API that does implement JSR-353 (JSON) [closed]

江枫思渺然 提交于 2019-11-28 07:23:26

问题


I just found out that Jackson does not implement JSR-353 and we already designed the module.. so i am in a desperate hurry to find a replacement of this API to begin working ! :D

I searched an API that implements the standard but could not find any interesting result because we plan to code with the standard and force the system to use a particular implementation (the API i am desperately searching for)


回答1:


Reference implementation

Here is the reference implementation for JSR 353 and its successor JSR 374: JavaTM API for JSON Processing 1.1 in Java EE 8:

https://javaee.github.io/jsonp/

Binding

Related is JSR 367: JavaTM API for JSON Binding (JSON-B) and its reference implementation, Eclipse Yasson.




回答2:


Genson

The Genson library claims to implement JSR-353.

https://code.google.com/p/genson/wiki/JSR353

I haven't tried this one myself though. I was recently also looking for a good JSON library, I tried 3 of them and finally settled with using Jackson as it best served my needs. The different thing is that I wasn't looking for a library which precisely implements the standard, I was just looking for something which is simple and does what I wanted it to do.


You can check Gson too, I guess (though it's not directly related to JSR-353).

https://code.google.com/p/google-gson/



来源:https://stackoverflow.com/questions/27984619/what-are-the-api-that-does-implement-jsr-353-json

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!