Message324257
So this format is just a series of JSON, delimited by a newline.
Instead of changing API, you might consider this piece of code:
def ndjsondump(objects):
return '\n'.join(json.dumps(obj) for obj in objects)
Conversely, first you `str.splitlines`, then `json.loads` each line separately.
Does it satisfy your needs? |
|
Date |
User |
Action |
Args |
2018-08-28 15:08:50 | enedil | set | recipients:
+ enedil, ronron |
2018-08-28 15:08:49 | enedil | set | messageid: <1535468930.0.0.56676864532.issue34529@psf.upfronthosting.co.za> |
2018-08-28 15:08:49 | enedil | link | issue34529 messages |
2018-08-28 15:08:49 | enedil | create | |
|