CZML is a subset of JSON, meaning that a valid CZML document is also a valid JSON document. Specifically, a CZML document contains a single JSON array where each object-literal element in the array is a CZML [[Packet]]. A CZML packet describes the graphical properties for a single object in the scene, such as a single aircraft.
CZML 是 JSON 的子集,这就意味着一个有效的 CZML 文档同时也是一个有效的 JSON 文档。具体来说,一个 CZML 文档中就包含了一个 JSON 数组,其中,数组中的每个字面量对象(元素)都是一个 CZML Package(数据包)。一个 CZML 的 Package 就描述了场景中的一个对象的图形属性,例如:一架飞机。
Note: we use javascript comments in these examples even though comments are not technically allowed in JSON.