11
votes

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)

2
I know that Jackson, Gson, etc.. does exist and are the better ones but the implementation thing is problematic so my question does simply mean "do you know about an api that implements the standard json jsr-353" so i thnik that it's not a recommandation or something like that no ? - maher.belkh
some users on Stack Overflow are becoming "purists". This was a really interesting question as it is for me also hard to find a list of the apis that implement JSR353. When the rules start working against the users' interests, you have to start thinking about changing some... - andrei.serea
Note that JSR-374, as an update to JSR-353, has been released and included in Java EE 8. - Franklin Yu
On the Software Recommendations Stack Exchange, see: Actual implementation of JSR-353 (JSON)? - Basil Bourque

2 Answers

14
votes

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.

5
votes

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/