Activity Forums Salesforce® Discussions What is JSON and why we use it in Salesforce? Reply To: What is JSON and why we use it in Salesforce?

  • Archit

    Member
    March 27, 2018 at 12:25 pm

    Hello Rahul,

    JSON i.e. JavaScript Object Notation used in exchanging data between a browser and a server, the data can only be text. JSON is text, and we can convert any JavaScript object into JSON, and send JSON to the server. We can also convert any JSON received from the server into JavaScript objects. JSON is light weighted than XML so that we can prefer to choose JSON mostly in place of XML.

    Thanks!