开发者

What's this data format? It looks like some kind of reduced pseudo-XML/JSON to me

开发者 https://www.devze.com 2022-12-18 18:54 出处:网络
Sorry, this might be a dumb question but I have no idea how to google this... I\'ve got output from a CLI tool and I was wondering, what the format is called. I wouldn\'t want to write a parser myself

Sorry, this might be a dumb question but I have no idea how to google this... I've got output from a CLI tool and I was wondering, what the format is called. I wouldn't want to write a parser myself if it's a common format, and I'm sure it is.

It looks like this;

statusList {
  status {
    int  time="1260878400"
    value {
      char value="197773F100"
      char type="RGF"
    } #value
  } #status

  status {
    int  time="1260899700"
    value {
  开发者_JS百科    char value="347663E100"
      char type="RGF"

    } #value
  } #status
} #statusList

Thanks!


Looks very much like JSon to me. It is not exactly the same, but appears to have most of the same constructs.


It looks like a JSON variant.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号