JSON vs XML

As you know in AJAX world, XML is always a common data structure to carry data in response. However, would feel XML is considerly too many overhead characters, complex and consume too much resource to parse. There is a better lightweight alternative on such data representation called JSON (JavaScript Object Notation) may worth to take a look. ;)

Reference:
Java and JSON – O’Reilly ONJava Blog
JSON in Java
Using JSON with Yahoo! Web Services
BorkWeb » Look Ma, Cross-Domain Scripting!
Jettison – a collection of Stax parsers and writers which read and write JSON

Advertisement

2 Comments (+add yours?)

  1. anon_anon
    Dec 02, 2009 @ 03:24:55

    you may also want to check out vtd-xml, the latest and most advanced xml processing model

    vtd-xml

    Reply

  2. hochit
    Dec 02, 2009 @ 03:28:27

    I even forgot I blogged something about XML before, since I’ve put down XML stuff many years but recently I’m dragging into it again.

    Really thanks for your information!!!

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 77 other followers