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 ronron
Recipients enedil, rhettinger, ronron
Date 2018-08-29.07:32:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535527969.23.0.56676864532.issue34529@psf.upfronthosting.co.za>
In-reply-to
Content
Raymond Hettinger answer is incorrect.

The main difference between Json and new line delimited json is that new line contains valid json in each line. Meaning you can do to line #47 and what you will have in this line is a valid json. Unlike the regular json where if one bracket is wrong the while  file is unreadable. 

You can not just add /n after one "object". You need also to change the brackets.

Keep in mind that not all Jsons are simple.. some contains huge amount of nested objects inside of them. You must identify where Json start and where it ends without being confused by nesting jsons.


There are many programming solutions to this issue.
For example:
https://stackoverflow.com/questions/51595072/convert-json-to-newline-json-standard-using-python/


My point is that this is a new format which is going to be widely accepted since Google adopted it for BigQuery.

flipping strings can also be easily implemented yet Python still build a function to do that for the user.

I think it's wise to allow support for this with in the Json library.. saving the trouble for programmer from thinking how to implement it.
History
Date User Action Args
2018-08-29 07:32:49ronronsetrecipients: + ronron, rhettinger, enedil
2018-08-29 07:32:49ronronsetmessageid: <1535527969.23.0.56676864532.issue34529@psf.upfronthosting.co.za>
2018-08-29 07:32:49ronronlinkissue34529 messages
2018-08-29 07:32:48ronroncreate