[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Do Not Emulate XML Namespaces in JSON
There is another option: separate out the name space associations into a separate metadata section of the JSON, Eg
{ "metadata": { "book": { "date": { "xmlns": "urn:rfc:3339", } } } "book": { "title": "The Philosophy of Unix", "author": "Mike Gancarz", "date": 1994, "publisher": "Digital Press" } } Your metadata structure can of course vary to meet your needs. In our case we'd likely also add another error section, but that's another discussion... Peter Hunsberger On Thu, Jun 11, 2015 at 4:39 AM, Costello, Roger L. <costello@mitre.org> wrote:
[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
|