Thursday, 21 August 2014

Android Sample Coding-PART 8:


1.JSON:


            JSON  is very light weight, structured, easy to parse and much human readable. JSON is best alternative to XML when your android app needs to interchange data with your server.

JSON is one of the best method for storing data. JSON data has both square brackets and curly brackets. The square brackets denote JSON Array and curly bracket denotes JSON Object. 


Screenshot :

          JSON Structure:









  Download Code Here

             JSON Parsing

         

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3 comments: