Skip to content

Instantly share code, notes, and snippets.

@mura303
Created January 4, 2021 11:43
Show Gist options
  • Save mura303/b8b5d5c562ee26111323d8ff3b348664 to your computer and use it in GitHub Desktop.
Save mura303/b8b5d5c562ee26111323d8ff3b348664 to your computer and use it in GitHub Desktop.
scrapboxのExportJSONをテキスト化
import json
j = json.load(open("hoge.json","r"))
for page in j['pages']:
for line in page['lines']:
print(line)
print("---")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment