[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The JSON Data Interchange Format (ECMA standard, October 2
Hi Roger, I think JSON is fine for some scenarios, XML for others and there is even a intersection set. DataPower appliance started as XSLT accelerator more than 10 years ago. Because there are customer scenarios needing JSON processing capabilities JSON processing support was added back in 2009. Since DataPower needed XML a new XML representation standard (JSONX) was defined IBM internally (DB2 and DataPower teams). It was submitted externally but expired: http://tools.ietf.org/html/draft-rsalz-jsonx-00 So JSON->JSON processing was done by JSON->JSONX->your XSLT->JSON or JSON->JSONX->your XSLT->JSONX->xform(store:///jsonx2json.xsl)->JSON with a shipped stylesheet. Since June this year DataPower provides an XQuery compiler in addition. And because of the JSON demand "JSONiq Extension to XQuery" compiler is provided, too. See "JSONiq Extension to XQuery" and "Implementations" tab: http://www.jsoniq.org/ The Zorba XQuery/JSONiq processor provides free online evaluation tool under try.zorba.io. There are many XQuery and JSONiq samples to play with, and I really like the "Share" button: http://try.zorba.io/#yoaI4UjKkv+A1E05P9By3CuFvDg= DataPower does not support JSONiq "update" functionality currently. But a XSLT copy template like solution is possible with JSONiq, too: https://www.ibm.com/developerworks/community/forums/html/topic?id=3b1486b2-d286-4c15-a912-7878c5837493#f8aa6601-81d8-4304-91a4-52dc0cd23bde Mit besten Gruessen / Best wishes, Hermann Stamm-Wilbrandt Level 3 support for XML Compiler team and Fixpack team lead WebSphere DataPower SOA Appliances https://www.ibm.com/developerworks/mydeveloperworks/blogs/HermannSW/ https://twitter.com/HermannSW/ http://www.stamm-wilbrandt.de/ce/ ---------------------------------------------------------------------- IBM Deutschland Research & Development GmbH Vorsitzende des Aufsichtsrats: Martina Koederitz Geschaeftsfuehrung: Dirk Wittkopp Sitz der Gesellschaft: Boeblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 From: "Costello, Roger L." <costello@mitre.org> To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>, Date: 10/17/2013 01:50 PM Subject: The JSON Data Interchange Format (ECMA standard, October 2013) Hi Folks, ECMA has just published: The JSON Data Interchange Format [1]. The specification is 5 pages long. In those 5 pages there are lots of large drawings. Here are some interesting snippets: JSON is a lightweight, text-based, language-independent data interchange format. It was derived from the ECMAScript programming language, but is programming language independent. JSON is a text format that facilitates structured data interchange between all programming languages. Because it is so simple, it is not expected that the JSON grammar will ever change. This gives JSON, as a foundational notation, tremendous stability. It is expected that other standards will refer to this one... Such standards may require specific behaviours. JSON itself specifies no behaviour. JSON was inspired by the object literals of JavaScript. JSON is agnostic about numbers. In any programming language, there can be a variety of number types of various capacities and complements, fixed or floating, binary or decimal. That can make interchange between different programming languages difficult. JSON instead offers only the representation of numbers that humans use: a sequence of digits. All programming languages know how to make sense of digit sequences even if they disagree on internal representations. That is enough to allow interchange. /Roger [1] http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf _______________________________________________________________________ XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting. [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: xml-dev-unsubscribe@lists.xml.org subscribe: xml-dev-subscribe@lists.xml.org List archive: http://lists.xml.org/archives/xml-dev/ List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
[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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|