❔ Trying to save location data using JSON. Need help!
I am very new to coding, and I need to make 3 different scripts (or one script with all 3 functions) for an assignment, but am very stuck on one part. I need to be able to store object locations, player, NPC and world space into JSON. I managed to get a stats script to save, but referencing the location and saving is the barier. Any ideas? I attach my script for the inventory.

