Do Jackson and Gson implement the JSR-353 standard?

I could not find the answer to my question on the net (maybe I did not search well enough, since I am still new to this).

Can someone tell me if Jackson and Gson implement the Json JSR-353 standard (so that I can write standard code) and @Runtime one of the implementations will be used by the application server (including it).

+5
source share
2 answers

This link has an answer (apparently the founder of Jackson), and it essentially says that Jackson does not implement JSR: http://jackson-users.ning.com/forum/topics/future-of-jackson-java- 8-jsr-353

Google did not (could not?) Vote for JSR ( https://www.jcp.org/en/jsr/results?id=5486 ), and I could not find anything in the Gson roadmap ( https: // sites.google.com/site/gson/gson-roadmap ) to suggest that they will want to execute.

+7
source

No, not one of them implements this API initially and has no plans (which I know) for its implementation. Regarding JCP standards, this is DOA; it offers very little (a streamlined API for streaming data, does not bind data at all), and there are very few incentives for any of its use, except for adding a compatibility flag for a set of implemented JSRs.

There is a Jackson-based JSR-353 implementation available at https://github.com/pgelinas/jackson-javax-json/ , however, if you really think this is a good idea, base your code on this API.

+6
source

Source: https://habr.com/ru/post/1211242/


All Articles