Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import json
- json_file = "file.json"
- with open(json_file, 'r') as read_file:
- data = json.load(read_file)
- with open(json_file+'l', 'w') as write_file:
- for entry in data:
- json.dump(entry, write_file)
- write_file.write('\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement