<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><blockquote type="cite"><div><div id="edo-original"><div><blockquote type="cite"><pre><br>a json-like format (pyson maybe ?).<br></pre></blockquote></div></div></div></blockquote><div><br></div><div>I gonna pyson is a fine idea. But don't call it extended JSON ;-)</div><div><br></div><div>For me, the point would be to capture Python' s richer data types.</div><div><br></div><div>But would you need an OrderedDict?</div><div><br></div><div>As pointed out, in recent cPython ( and pypy) dicts are ordered by default, but it's not part of the language spec)</div><div><br></div>And you can use ast.literal_eval as a pyson parser, so it's almost ready to use :-)<div><br></div><div>-CHB<br><blockquote type="cite"><div><div id="edo-original"><div><blockquote type="cite"><pre>
<br>What do you think about ?
<br>
<br>  Kind regards, Matteo.
<br>
<br>--  
<br>  email:   <a href="mailto:nastasi@alternativeoutput.it">nastasi@alternativeoutput.it</a>,   <a href="mailto:matteo.nastasi@gmail.com">matteo.nastasi@gmail.com</a>
<br>  web:   <a href="http://www.alternativeoutput.it">www.alternativeoutput.it</a>   irc: #<a href="mailto:linux-mi@irc.freenode.net">linux-mi@irc.freenode.net</a>
<br>                 linkedin: <a href="http://lnkd.in/SPQG87">http://lnkd.in/SPQG87</a>
<br>_______________________________________________
<br>Python-ideas mailing list
<br><a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a>
<br><a href="https://mail.python.org/mailman/listinfo/python-ideas">https://mail.python.org/mailman/listinfo/python-ideas</a>
<br>Code of Conduct: <a href="http://python.org/psf/codeofconduct/">http://python.org/psf/codeofconduct/</a>
<br></pre></blockquote></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Python-ideas mailing list</span><br><span><a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a></span><br><span><a href="https://mail.python.org/mailman/listinfo/python-ideas">https://mail.python.org/mailman/listinfo/python-ideas</a></span><br><span>Code of Conduct: <a href="http://python.org/psf/codeofconduct/">http://python.org/psf/codeofconduct/</a></span><br></div></blockquote></div></body></html>