What is Standard Interfaces???
Let completely different people to have common ways to interact.
So, here's an example:
⬇️
When it comes to transferring data, we also need common interface(s) that people all send or store data in universal ways to be shared between applications or shared over networks.
<aside> 🧸 Three main interchange formats
</aside>
JavaScript Object Notation (JSON)
JSON data is written as name/value pairs.
here is an example:
{
"locations": [
{
"suburb" : "Kensington",
"postcode" : 2033
},
{
"suburb" : "Mascot",
"postcode" : 2020
},
{
"suburb" : "Sydney CBD",
"postcode" : 2000
}
]
}
Note:
No trailing commas allowed
Whitespace is ignored
JSON objects are written inside curly braces
{"firstName":"John", "lastName":"Doe"}