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
import json | |
# Load the JSON data | |
with open("export.json", "r") as f: | |
data = json.load(f) | |
# The structure might be different from what we expected | |
# Let's inspect the structure first | |
if "attachments" in data: | |
# Original expected structure |