nin-jin / tree.d

Tree - simple fast compact user-readable binary-safe extensible structural format
The Unlicense
198 stars 14 forks source link

Comment support #9

Open RichardFevrier opened 5 months ago

RichardFevrier commented 5 months ago

Hi, just wanted to know if there is any type of comment support, something that I like with YAML. Thanks

blokhin commented 5 months ago

I'd say here's exactly the same reason why comments are not used in JSON: because they are inherent part of the model. In JSON you can write simply {"comment": "a nice comment"} so a similar construct should make sense in the tree as well. So in the end of the day you don't need an explicit comments support.