15. JSON
Data communication is common in applications. Whether to store on a database or to send it to another application on the Internet, that data needs to be communicated to and from an application. JSON (JavaScript Object Notation) is one of the data exchange formats that is popularly used in Android applications. Android includes the json.org
libraries that enable you to work with JSON files. JSON is a fast, easy-to-use-and-manage data exchange format. In this chapter, you will learn ways of creating, inserting, and accessing information in JSONObject
s. Also, you will learn to nest a JSONObjec
t into another JSONObject
. In addition, you will learn to keep more than one JSONObjects
into a JSONArray
. You will see how information is written ...
Get The Android™ Tablet Developer’s Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.