1. Standard Interfaces

What is Standard Interfaces???

Let completely different people to have common ways to interact.

So, here's an example:

⬇️

2. Data Interchange Formats

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>

2.1 JSON

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

2.1.1 JSON Objects

JSON objects are written inside curly braces

{"firstName":"John", "lastName":"Doe"}

2.1.2 JSON Arrays