Perhaps an actual use-case would clarify the need for this?<br><br><div class="gmail_quote">2011/9/12 Chris Rebert <span dir="ltr"><<a href="mailto:clp2@rebertia.com">clp2@rebertia.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

2011/9/11 Juan Pablo Romero Méndez <<a href="mailto:jpablo.romero@gmail.com">jpablo.romero@gmail.com</a>>:<br>
<div class="im">> Hello,<br>
><br>
> What do you guys think about adding a method "to_json" to dictionaries<br>
> and sequence types? Perhaps through a module import?<br>
<br>
</div>Why? We already have json.dumps(); seems to cover the use case.<br>
<br>
Cheers,<br>
<font color="#888888">Chris<br>
</font><div><div></div><div class="h5">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br>