This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • 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 ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

JSON Quick Syntax Reference: Java APIs for JSON?  RSS feed

Posts: 26
Google Web Toolkit Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JSON syntax has never seemed complicated. I have found JSON's pain point to be the plethora of Java implementations. Compare the Java libraries listed on and you won't find a consistent treatment. I've written several projects with GWT, where there is one (very limited) JSON library for the client side (which wraps JavaScript), while it's take-your-pick on the server side. GWT also includes the packages, yet another approach for POJO <-> JSON. How does this book help me get my head around these implementations? Is the book opinionated about implementation, or does it survey the different approaches and discuss trade offs?
Posts: 67261
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this topic for some discussion of backend JSON libraries.

I agree with your point. JSON and JavaScript enjoy (obviously) a close relationship, but JSON in many ways has impedance with languages such as Java. Because there is no standardized API that libraries need adhere to, each one has rolled their own, and choosing which to use can be perplexing (unless the choice has been made for you by choice of framework).

Personally, I'm most familiar with Gson from my time working with the Play! 1.2 framework.
Posts: 21
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The book's topical content is JSON (Quick) Syntax Reference, and thus details how to construct JSON data structures. It does not cover what to do with the data structure post-parsing, and focuses on JavaScript more than Java.
no wonder he is so sad, he hasn't seen this tiny ad:
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!