简体   繁体   中英

how can store parse json string data into locally textfile in phonegap ios?

how store parse json string data into localltext file first and next time fetching data from local file it self this my code which i write

$.getJSON("my ruls ",function(data)

the above line am parseing json url and i need store that data into local text file then user second time read data from local text file only not json url ?

pls give some idea or suggestion or some links to achive this problem

i did this problem in ipohne

thanks & regards

you can write your data using FileWriter in Phonegap ( http://docs.phonegap.com/en/2.5.0/cordova_file_file.md.html#FileWriter )

regards,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM