I have a text file which consists of Nested JSON Structure, I need to pick the objects from the file and print it in separate file in row wise fashion. For Example,
Let's say that
I have a array of records inside my JSON file
object: [{"ID":198888,"sub":"nnn","topic":"python"},{"ID":19889,"sub":"nnj","topic":"jython"}]
I have to parse above file and reprint the objects in another file as
{"ID":198888,"sub":"nnn","topic":"python"}
{"ID":19889,"sub":"nnj","topic":"jython"}
This has to be done in Python