Description
Juergen Hoeller opened SPR-14923 and commented
The JSON-B specification (part of Java EE 8, building on EE 7's JSON-P processing API) looks straightforward to integrate as an alternative to Jackson and Gson for JSON object binding, analogous to JAXB for XML binding. Let's aim for supporting it in Spring Framework 5, next to Servlet 4.0 and Bean Validation 2.0.
The JSON-B reference implementation - Yasson - originated within the Eclipse Persistence project but recently moved to a standalone home. It will probably be as commonly used as Hibernate Validator for the Bean Validation API, both standalone and as part of all major application servers.
http://json-b.net/
https://jcp.org/en/jsr/detail?id=367
Issue Links:
- Use Apache Johnzon 1.1 for JSON-B integration tests [SPR-15590] #20149 Use Apache Johnzon 1.1 for JSON-B integration tests ("is depended on by")
- Spring MVC support for JSON parsing/streaming APIs (JSON Processing API, Gson, Jackson) [SPR-15270] #19835 Explicit support for JSON parsing/streaming APIs (JSON Processing API, Gson, Jackson)
- Support for Servlet 4.0 API [SPR-12674] #17273 Support for Servlet 4.0 API
- Compatibility with JCache 1.1 [SPR-13574] #18150 Compatibility with JCache 1.1
- Revise generic type handling in GsonHttpMessageConverter [SPR-15381] #19944 Revise generic type handling in GsonHttpMessageConverter
Referenced from: commits cf30603