I started building an Android app that uses a flat file for storage. The app doesn't store more than six records, and I'm familiar with JSON, so I just write out a JSONArray
to the file.
I just discovered today, though, that the Android JSON API doesn't include a remove()
option. Huh? Do I have to dump the array into another collection, remove it, then rebuild the JSONArray
? What's the point?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…