🏳️🌈
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run this from the bash command prompt. Make sure that jq is installed https://github.com/stedolan/jq/wiki/Installation | |
# json_temp.json has the file in the form [{...}, {...}, {...}] and coverts to {...}\n{...}\n | |
jq -c '.[]' json_temp.json > json_temp.jsonl | |
# From within python can do this: | |
pip install jsonlines | |
import json | |
import jsonlines |