• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Java XML and JSON: When would you choose one over the others?  RSS feed

 
Ranch Hand
Posts: 48
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeff Friesen,

In the case of JSON, When would you choose one library over the other libraries?
Do you favor one of the libraries? Which one? Why?

Thanks.
 
Author
Posts: 86
5
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jorge,

It would be so much easier if Java SE had an official JSON implementation. The closest is JSON-P, which was intended for inclusion in Java SE but instead is officially part of Java EE. Each library has its pluses and minuses, which makes it difficult to choose. I like Jackson because it supports converting XML to JSON. Unfortunately, lack of time prevented my discussing this feature in the book. However, I will be discussing this feature as part of an upcoming blog post for my JavaWorld Java Q&A blog.

Jeff
 
Jorge Ruiz-Aquino
Ranch Hand
Posts: 48
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeff Friesen,

You are right, it would be nice to have a kind of official JSON specification.
I like Jackson too, specially because the Spring support of Jackson.
Hope we can compare the other alternatives in your book.
 
Attractive, successful people love this tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!