Naming URL and JSON components

These are some simple visuals I quickly threw together. I hope they will help to improve conversations which will lead to better-informed decisions. In IT we have a habit of using multiple names for exactly the same thing which frequently leads to longer and more confusing conversations! I hope the visual breakdown of URLs and JSON objects into their constituent parts will be of benefit to newbies and non-techies alike.

JSON Example

original.png

  • JSON object – they start with { and end with }
  • Key – this is always a String. It is used to identify and retrieve the associated value
  • Value – this can either a
    • String
    • Number
    • Object
    • Array
  • Property or Key/Value pair – a combination of keys and values
  • Payload/Body/Request/Response body – everything listed above is contained in payload/body

 

URL Example

URL - explained3.png

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s