I'm working on an Android app. The app gets the data as JSON string (name of universities and student lists) and manipulate the app according to the data.
What will be a better approach?
- Create a new Object and parse the JSON string into it, and work with the object, or
- Keep the JSON string, and just use JSONObject whenever I need to grab information from the string
- Or any other way?
If I'm using the new Object, how can I transfer (or share) the object with other activities in the app?
I know that for string we can use putextra()
.