couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Porta <rurd...@gmail.com>
Subject Re: Comments in design doucment
Date Thu, 23 Feb 2012 16:30:41 GMT
The only option for commenting in a JSON document is to add the
comment to the data structure.  As far as comments go, this is not
*really* a comment, as it affects the document itself.  Normally,
comments are disregarded by the compiler and therefore do not affect
the code.


Jonathan Porta



On Thu, Feb 23, 2012 at 9:16 AM, Robert Newson <rnewson@apache.org> wrote:
> A design document needs to be valid JSON. Are your comments inside JSON strings?
>
> B.
>
> On 23 February 2012 15:44, Ian Mayo <ian@planetmayo.com> wrote:
>> Hi all,
>> like a good software engineer I'm trying to document my code.
>>
>> But, each time I try to put a // or /* comment into my design document
>> the transfer to couchdb fails.
>>
>> Is there a way of putting comments into a design document?
>>
>> cheers,
>> Ian

Mime
View raw message