- From: Ivan Herman <ivan@w3.org>
- Date: Mon, 3 Oct 2011 16:21:14 +0200
- To: Markus Lanthaler <markus.lanthaler@gmx.net>, Manu Sporny <msporny@digitalbazaar.com>
- Cc: "public-linked-json@w3.org JSON" <public-linked-json@w3.org>, Olivier Grisel <olivier.grisel@ensta.org>
Two issues. One positive, the other negative... For my specific issue in Python I have installed Python 2.7 on my machine, and made a test with this ordered dictionary and the built-in json parser. It works. Thanks to Olivier (I did not know about this extra in Python 2.7). However, following up one of the remarks I found on the Web, the JSON RFC[1] says [[[ An object is an unordered collection of zero or more name/value pairs... ]]] right in the introduction. Which means that, although the specific issue in Python is solvable indeed, other parsers or JSON serializers may not offer the same flexibility if they simply follow the RFC. :-( Ivan [1] http://www.ietf.org/rfc/rfc4627.txt?number=4627 ---- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 PGP Key: http://www.ivan-herman.net/pgpkey.html FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Monday, 3 October 2011 14:20:23 UTC