There are two most commonly used languages for communication between platforms:
- 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>