[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: Put comments in project json file ?
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2013-12-29 20:26:32
Message-ID: 201312292126.32403.neundorf () kde ! org
[Download RAW message or body]

On Sunday 29 December 2013, Milian Wolff wrote:
> On Sunday 29 December 2013 14:23:59 Alexander Neundorf wrote:
> > Hi,
> > 
> > I tried to put comments into the json .kateproject file, but didn't find
> > a way which worked.
> > Neither #, // nor /* ... */ seemed to work, in all cases the file was not
> > loaded at all.
> > Is there a way to put comments in that file ?
> > Or should I put the comment e.g.in a
> > "#comment": "the actual comment..." field ?
> 
> JSON does not support comments :)
> 
> See e.g.:
> http://stackoverflow.com/questions/244777/can-i-comment-a-json-file

Ah, ok.
Here http://stackoverflow.com/questions/3953692/syntax-for-documenting-json-
structure somebody recommended jsdoc, which then must be for javascript, not 
json, it seems.

Alex

_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic