[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: json v. xml

  • From: Mitch Amiano <mitch.amiano@a...>
  • To: Robert Koberg <rob@k...>
  • Date: Fri, 05 Jan 2007 16:33:33 -0500

compare json yaml
I think what you're getting is more clever nomenclature, at least, if 
you've been programming with Javascript in the browser and have ever 
pre-loaded Javascript arrays of objects. The transfer method is 
different than loading a <script src="foo.js"> resource, but in the end 
a JSON object, within the browser, is a Javascript object.

For it to do anything useful in the browser, without an applet or 
plug-in that is, you would expect to have other Javascript objects, 
written in the manner (more or less) of a library of prototypes, which 
define behavior and navigational code.

BTW, this seems like déjà vu. Shouldn't the comparison really be between 
JSON v. YAML ;-)


Robert Koberg wrote:
> Hi,
>
> It seems a lot it is being said about JSON being a better browser 
> format than XML. Dare Obesanjo makes the best points in favor of JSON 
> - mainly that you can cross domains easily.
>
> But with JSON:
>
> - how do you get the parent object?
> - how can you go directly to an object? (perhaps it is deeply nested 
> in an array, in an object, in an array)
> - how do you transform it for a view? do you write your own 
> transformation language each time?
>
> Does any of the above matter for JSON?
>
> Will an eval'ed JSON object(s) eventually look like a DOM object?
>
> -Rob
>
>
>
>


  • References:

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.