What is the fundmental difference between using RestEasy JSON Provider Jettison (Badgerfish mapping) over Jackson?
What is is pros and cons of using the one over the other?
What is the fundmental difference between using RestEasy JSON Provider Jettison (Badgerfish mapping) over Jackson?
What is is pros and cons of using the one over the other?
Jettison is old.
Jackson is arguably the standard Java Library for processing JSON. Jackson is included in Glassfish.
Also some developers has warned me to stay off Badgerfish.
You can implement Jackson in Resteasy, see here.
Which mappings (Badgerfish, natural, ...) does Jackson implement?
None. Jackson is "100% JSON" and does not try to imitate or emulate XML. Property name mapping is based on standard Java Bean naming convention (although can be overridden using annotations or custom naming strategy).
There are some support compatibility features -- such as ability to optionally use JAXB annotations -- but fundamentally Jackson is a pure JSON/Java data mapper and tries to minimize impedance between JSON and Java data models.
© 2022 - 2024 — McMap. All rights reserved.