Perhaps an actual use-case would clarify the need for this?

2011/9/12 Chris Rebert <c...@rebertia.com>

> 2011/9/11 Juan Pablo Romero Méndez <jpablo.rom...@gmail.com>:
> > Hello,
> >
> > What do you guys think about adding a method "to_json" to dictionaries
> > and sequence types? Perhaps through a module import?
>
> Why? We already have json.dumps(); seems to cover the use case.
>
> Cheers,
> Chris
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to