• 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
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

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

 
Ranch Hand
Posts: 51
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: 51
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.
 
mooooooo ..... tiny ad ....
global solutions you can do in your home or backyard
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!