Ezio Melotti added the comment:
I saw that and found it not clear, that's why I rephrased it.
In order to understand that one has to know what is a "framed protocol", what can be considered a "JSON document" (is a single object a JSON document? or does it need to be serialized first?), what is a "container protocol" (can I use one? where can I find it? is there a default one for JSON?).
I think it's clearer to just say that you can't do json.dump(obj1, f); dump(obj2, f).
I also omitted the note on `load`, because if you can't add more objects to the same file using json.dump you won't even try to use json.load to extract them one by one.
----------
_______________________________________
Python tracker
http://bugs.python.org/issue4783
_______________________________________