O'Reilly logo

The Android™ Tablet Developer’s Cookbook by B.M. Harwani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 JSONObjects. Also, you will learn to nest a JSONObject into another JSONObject. In addition, you will learn to keep more than one JSONObjects into a JSONArray. You will see how information is written ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required