Experience Salesforce

Languages Used in creating APIs

What You’ll Learn

  • Types Of Languages Used In Creating APIs

Types Of Languages Used In Creating APIs

There are two most commonly used languages for communication between platforms:

1. JSON

JavaScript Object Notation is the language that works on JS concepts, can use an array, and is easy and quick to read.

{"Students":[
  { "firstName":"Harry", "lastName":"Potter" },
  { "firstName":"Steve", "lastName":"Smith" },
  { "firstName":"Tony", "lastName":"Starc" }
]}

2. XML

Extensible Markup Language is the language that do have tags and is used earlier when JSON hasn’t got introduced. Now, it is not that in use.

<Student>
  <Student>
    <firstName>Harry</firstName> <lastName>Potter</lastName>
  </Student>
  <Student>
    <firstName>Steve</firstName> <lastName>Smith</lastName>
  </Student>
  <Student>
    <firstName>Tony</firstName> <lastName>Starc</lastName>
  </Student>
</Student>

salesforce-developer
Next Topic

Need Extra Support? Our FREE study materials have got you covered.

Our expert-prepared study materials provide the answers you need. Clear your doubts and improve your skills with detailed notes from industry professionals.

cts-img
Rakshabandhan Sale