How to read json file in javascript using javascript policy?
json file is in resources folder
Solved! Go to Solution.
You cannot do that.
There's a feature request pending that will allow it, in the future. (ref: b/155436526)
But for now, you cannot.
The way I do it is
I know, it's not as easy as using json. But that's what we have today.
Another option is to store the JSON file into a KVM , and use KVM Get and then JSON.parse().
You cannot do that.
There's a feature request pending that will allow it, in the future. (ref: b/155436526)
But for now, you cannot.
The way I do it is
I know, it's not as easy as using json. But that's what we have today.
Another option is to store the JSON file into a KVM , and use KVM Get and then JSON.parse().
Thank you sir.