You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Quick Answer

In the context of a resource object, a property is a synonym, or shorthand expression, for a JSON name/value pair.

Consider the following resource object:

{
   "address":"6649 N Blue Gum St",
   "city":"New Orleans",
   "county":"Orleans",
   "state":"LA",
   "zip":"70116"
}

In the above example, we see an "address" name/value pair, which is perfectly acceptable, 

For instance, in the above example, rather than refer to the "the name name/value pair" it would be easier to refer to "the name property". The term property also defines resource object relationships better, which is evident with nested properties and sub-properties.

  • No labels