mgraph是微软oslo带来的一种很好的文本数据格式。
你认为它有机会像现在的XML一样广泛吗?
示例(谷歌地理代码):

{
  name = "waltrop, lehmstr 1d",
  Status {
    code = 200,
    request: "geocode"
  },
  Placemark [
    {
      id = "p1",
      address = "Lehmstraße, 45731 Waltrop, Deutschland",
      AddressDetails { Country {CountryNameCode = "DE", CountryName = "Deutschland", AdministrativeArea { AdministrativeAreaName = "Nordrhein-Westfalen", SubAdministrativeArea = { SubAdministrativeAreaName = "Recklinghausen", Locality { LocalityName = "Waltrop", Thoroughfare { ThoroughfareName = "Lehmstraße" }, PostalCode = { PostalCodeNumber = "45731" }}}}}, Accuracy = 6 },
      ExtendedData {
        LatLonBox {
          north = 51.6244226,
          south = 51.6181274,
          east = 7.4046111,
          west = 7.3983159
        }
      },
      Point {
        coordinates [ 7.4013350, 51.6212620, 0 ]
      }
    }
  ]
}

模式信息:Microsoft "Oslo" MGraph - the next XML?

最佳答案

……json不做什么呢?

07-27 22:08