Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
json to ndjson
#1
I have a output from request.get it is something like this
actual output is long and multiple of this line.

[{"a":1,"b":2,"c":3},{"x":4,"y":5,"z":6}]

i want this to convert to something like this

{"a":1,"b":2,"c":3}
{"x":4,"y":5,"z":6}

how do I do this?
Reply


Messages In This Thread
json to ndjson - by pythonlearner1 - May-21-2020, 10:32 PM
RE: json to ndjson - by bowlofred - May-22-2020, 01:22 AM
RE: json to ndjson - by macfanpl - May-22-2020, 07:48 AM
RE: json to ndjson - by buran - May-22-2020, 08:01 AM
RE: json to ndjson - by macfanpl - May-27-2020, 10:46 AM
RE: json to ndjson - by pythonlearner1 - May-22-2020, 02:29 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020