[Python-ideas] iterator/stream-based JSON API

Antoine Pitrou solipsis at pitrou.net
Mon Jun 3 11:12:06 CEST 2013


On Sun, 2 Jun 2013 22:11:23 -0400
Daniel Holth <dholth at gmail.com> wrote:
> When will the stdlib get a decent iterator/stream-based JSON API? For
> example automated packaging tools may be parsing a lot of JSON but
> ignoring most of it, and it would be lovely to say "if key not in
> interesting: skip_without_parsing()".

Do you think that would make a significant difference? I'm not sure
what "parsing a lot of JSON" means, but I suppose packaging metadata is
usually quite small.

Regards

Antoine.




More information about the Python-ideas mailing list