cancel
Showing results for 
Search instead for 
Did you mean: 

Crud aplication

Former Member
0 Kudos

Hi gays I'm creating offline apllication with local JSON data. I menage to edit data in JSONmodel but i cant  edit it in local JSON file I try to search the answer but I could not find it. So i have a couple question for u:

          1. Can I edit data in a JSON file?

          2.  If yes, maybe you  have same useful links or app's examples.?

Thx for ur time, and sry for my ENG

Accepted Solutions (1)

Accepted Solutions (1)

Qualiture
Active Contributor
0 Kudos

I wouldn't advise using local JSON files, but rather use REST services which expose your persistence as JSON.

See for example this excellent blog

Former Member
0 Kudos

looks like this is what i was looking for thx I try it

Answers (1)

Answers (1)

ChandraMahajan
Active Contributor
0 Kudos

          1. Can I edit data in a JSON file?

          2.  If yes, maybe you  have same useful links or app's examples.?

You cannot edit data in json file. it cannot be persistence as database.

instead you can try this blog

Regards,

Chandra

Former Member
0 Kudos

And i have one more question can I save JSON data on Indexeddb or local storage?