Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the above example, we see an address name/value pair. It is perfectly acceptable to use "name/value pair" since this is how JSON is documented. However, but the term property is preferred in the context of web APIs a and resource objects . The term property because it defines resource object relationships better, which is evident with nested properties and sub-properties. Therefore we would normally observe that the above resource object has an address property.