Test

from pathlib import Path import shutil # Define the path to save the final code as a text file output_path = Path(“/mnt/data/structured_data_100_jaar_recreatieoord.json”) # Define the JSON-LD structured data as a string structured_data = “”” “”” # Save the structured data code to the output path with open(output_path, “w”, encoding=”utf-8″) as f: f.write(structured_data.strip()) # Return the path to the saved file output_path.name