Help me to Read LOCAL JSON FILE


json file in root folder: practice.json

I have attached mydemo project. Read LOCAL JSON FILE.

Already Checkout in the forum, but i cant.

Thank you.

If the answers in the previous thread ( did not do what you want then I assume you want to read a json file from a “random” position in the local file system, that some other program (not your app) has placed there. Is this correct?

If so then this can not be done with only JS right now, since the Storage API can only access files within the apps own folder. You would therefore need to write some Uno code for this or simply wait until the JS APIs are expanded.

Moving this thread to How-to discussions where it belongs