Places (Search) API China - BETA Developer's Guide

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 China - BETA response.

JSON format uses objects and types of these objects can contain objects of their own, the terms 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 an alternativeNames attribute, which in turn has its own language attribute.