if you really need a comment in JSON you can usually just use a ignored field:

{
  "REM": "ugly, but this will be ignored",
  "name": "modulename"
}

pays to have glanced at, or written the thing that reads this though.


On Thu, Jun 14, 2012 at 6:07 PM, Oleg Efimov (Sannis)
<efimo...@gmail.com> wrote:
> As I know, XML spec does not describe single format for arrays/maps
> representation. There is more other things in YAML that odes not exist in
> XML.
>
> Especially for human-readable configs YAML looks pretty good.
>
> четверг, 14 июня 2012 г., 4:38:55 UTC+4 пользователь Matt Sergeant написал:
>>
>> On Wed, Jun 13, 2012 at 4:46 PM, trans <transf...@gmail.com> wrote:
>>>
>>> Well, the later statement isn't really true. YAML is certainly more
>>> complex than JSON. And that's b/c it 1) caters to human readability and
>>> editability and 2) is a full serialization format. But it's not more complex
>>> than XML by any means.
>>
>>
>> YAML Spec: http://www.yaml.org/spec/1.2/spec.html - 89 Pages.
>>
>> XML Spec: http://www.w3.org/TR/REC-xml/ - 36 Pages.
>>
>> You were saying?
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to