Message368827
It's coming back to me, I think I used the no-separator format because I made the multi-document input files by using json.dump after opening the file in append mode. That seems pretty natural. I figured the wikipedia article and the json.tool patch just released were evidence that there is interest in this. The approach of writing newlines between the docs and iterating through lines is probably workable though. I don't know why I didn't do that before. I might not have been sure that json docs never contain newlines.
Really it would be nice if json.load could read in anything that json.dump could write out (including with the indent parameter), but that's potentially more complicated and might conflict with the json spec. |
|
Date |
User |
Action |
Args |
2020-05-14 11:17:58 | phr | set | recipients:
+ phr, serhiy.storchaka |
2020-05-14 11:17:58 | phr | set | messageid: <1589455078.68.0.516083802375.issue40623@roundup.psfhosted.org> |
2020-05-14 11:17:58 | phr | link | issue40623 messages |
2020-05-14 11:17:58 | phr | create | |
|