Adding a json NOT API to a widget

so I’m trying to create a widget with a local json file attached to it for a Valentine’s Day present and I am not sure if this is possible in scriptable. My plan is to have the widget display a new message everyday and possibly change the hello message depending on the time of day (good morning, good night etc) but im not sure how that would work if anyone could help that would be greatly appreciated

Your widget code should be able to pull data from a local JSON file. These resources should give you the examples you need to build the widget and read JSON into an object.

https://www.reddit.com/r/Scriptable/s/yKLdwpUTFD