This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author enedil
Recipients enedil, ronron
Date 2018-08-28.15:08:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535468930.0.0.56676864532.issue34529@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2018-08-28 15:08:50enedilsetrecipients: + enedil, ronron
2018-08-28 15:08:49enedilsetmessageid: <1535468930.0.0.56676864532.issue34529@psf.upfronthosting.co.za>
2018-08-28 15:08:49enedillinkissue34529 messages
2018-08-28 15:08:49enedilcreate