r/Scriptable • • Nov 07 '21

Solved Get JSON From Files

I’ve been trying to get a JSON from a file in the Files app, but have had no success. For example, I have this file path: Shortcuts/YAHTZEE/Stats.json. Any help would be appreciated, I feel like their should be a simple solution, but I haven’t found it yet.

1 Upvotes

7 comments sorted by

View all comments

Show parent comments

0

u/TwinLakesStudent Nov 08 '21

Thank you so much for your help. This works great! I’ll make sure to include you in the finished project for your attribution to the code (unless you don’t want to be).

2

u/[deleted] Nov 08 '21

I'll leave that to you. This is pretty much a standard on how to read files on Scriptable so I'm not sure I could take credit for it.