Recurring JSON Structures
This topic describes the various object and attributes an application may receive receives in a JSON representation, as part of a Places (Search) API response.
object
and attribute
can sometimes be used for the same item depending on the context of that item. The definition of each term is as follows: - object - An object is a structure containing attributes, such as a place.
- attribute - An attribute is a name and value that is part of its parent object. An attribute's value may be a string, another object, a hyperlink, or other information. For example, the
place
media type has analternativeNames
attribute, which in turn has its ownlanguage
attribute.