I commonly see data stored in JSON objects/arrays in open sourced Android code.
Why/When should I use JSON over normal Java ArrayLists?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
JSON is a standard for transferring data between servers. It’s a format that can be understood by any language, whether it be Java, C#, PHP, Python, Ruby, or JavaScript. Since it’s a widely recognized format, it’s much easier to work with JSON.
Many Android apps do communicate with a server, so it was probably easier for those developers to transfer the data to and from their server, which may or may not have been using Java.