I've got no particular preference of information that favors GSON vs Jackson, its just anther one of the JSON libraries we are using (and unlike Jackson is currently used in GeoTools). I do believe their capabilities are quite similar though.
Given how Spring tends to use Jackson, I don't think we're going to get away from using it. Long-term, replacing GSON usages with Jackson seems more likely. Torben On Thu, Jan 24, 2019 at 8:48 AM Andrea Aime <andrea.a...@geo-solutions.it> wrote: > On Thu, Jan 24, 2019 at 5:33 PM Andrea Aime <andrea.a...@geo-solutions.it> > wrote: > >> Both libraries are well maintained and their core version is small >> enough, jackson at 300k, gson at 230kb. >> > > Found an article comparing them here: > https://www.baeldung.com/jackson-vs-gson > Scrolling through quickly, they seem pretty similar, but Jackson seems to > have won the mindset war (in terms > of major libraries depending on it). > > I also looked at recent performance comparisons, just to see if there is > any major difference (in the long term > vision of using just one), looks like jackson is faster by a significant > amount: > > https://medium.com/@dannydamsky99/heres-why-you-probably-shouldn-t-be-using-the-gson-library-in-2018-4bed5698b78b > > https://interviewbubble.com/performance-comparison-of-json-libraries-jackson-vs-gson-vs-fastjson-vs-json-simple-vs-jsonp/ > https://github.com/fabienrenaud/java-json-benchmark > > These are just the top level results of a "gson vs jackson performance > 2018" google query, did not add any bias of mine. > > Cheers > Andrea > > == GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf > Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa > (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 > http://www.geo-solutions.it http://twitter.com/geosolutions_it > ------------------------------------------------------- *Con riferimento > alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - > Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni > circostanza inerente alla presente email (il suo contenuto, gli eventuali > allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i > destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per > errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le > sarei comunque grato se potesse darmene notizia. This email is intended > only for the person or entity to which it is addressed and may contain > information that is privileged, confidential or otherwise protected from > disclosure. We remind that - as provided by European Regulation 2016/679 > “GDPR” - copying, dissemination or use of this e-mail or the information > herein by anyone other than the intended recipient is prohibited. If you > have received this email by mistake, please notify us immediately by > telephone or e-mail.* >
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel