Json - How To Use

Json - How To Use

  • Purpose of JSON is to direct data from the server to the browser executing a web application. 
  • The transfer is made possible without a page refresh via Ajax along with jQuery JavaScript library methods, such as getJSON() and parseJSON() as follows:
  • JSON can as well be used in reverse manner from browser to server along with appropriately encoded GET or POST parameters.

Sample Code :

    {"firstName":"John", "lastName":"Doe"}, 
    {"firstName":"Anna", "lastName":"Smith"}
  • Android offers the following to work with JSON data as follows :


Bug Bounty
IOT Hackathon

Join our Community