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

Re: XML vs JSON

  • From: Dan Brickley <danbri@danbri.org>
  • To: Paul Denning <pauld@mitre.org>
  • Date: Tue, 1 Aug 2017 16:36:21 +0100

Re:  XML vs JSON
On 1 August 2017 at 16:14, Paul Denning <pauld@mitre.org> wrote:
Agree JSON is fit for purpose where the coupling is tight, i.e., the _javascript_ running on the browser is typically sent from the server.  The server code and the _javascript_ sent to the browser are managed as a tightly coupled pair.  If the server needs to change, the _javascript_ (sent from the server to be run on the client side) is updated at the same time. The independent evolution (loose coupling) of the client and the server is not really an issue in this case. 

Using JSON may not be optimal for true machine-to-machine exchanges where each side needs to evolve independently (yet both side are dependent on a good specification of the exchange).

FWIW at Google we have gradually moved our emphasis from Microdata/RDFa structured data markup towards JSON-LD embedded in HTML pages. Both have strengths and weaknesses, but people seem to appreciate that the JSON(-LD) representation is more compact, and not full of terms like "itemprop" (Microdata) or "property" (RDFa)  that aren't from the problem domain. Both flavours use the same underlying (schema.org) vocabulary, since that is defined in terms of types and properties rather than being hard-bound to any particular notation's structure.


Dan


[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.