• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

JSON Quick Syntax Reference: JSON advantages over other web services protocol?

 
Ranch Hand
Posts: 77
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Regarding the JSON syntaxes, what are the advantages in JSON we have over other form of web services?

Do we need to implement heavy parsing call back methods similar to working with XML? are there ready to use libraries for both Java and C++ while working with JSON?

I am working in an application in which client side is based on Java and server side components are based on C++.

Thanks
Mohamed Iqzas
 
Sheriff
Posts: 67590
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See this topic for some discussion.

With regard to your second question (in the future, please use a separate topic for separate questions), there are numerous Java libraries to handle JSON, including Gson and Jackson.

I can't specifically speak to C++, but a google search reveals multiple choices.

Let's continue any discussion of libraries in this topic.
 
Author
Posts: 21
6
Android Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The book focuses on the JSON Syntax specifically, which is more compact and simple to use than XML, so it is more data compact and streamlined. The book does cover built-in parsing functions for JSON in both JavaScript as well as Java.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic