Today it is not possible to use Support for JSONC (JSON with Comments).
For example, the below results in an error:
@startjson { "firstName": "John", "lastName": "Smith", "isAlive": true, // True when alive } @endjson
Here is only a minor remark:
Without the last comment, beware to the last comma:
Compare:
@startjson { "firstName": "John", "lastName": "Smith", "isAlive": true, } @endjson
and:
@startjson { "firstName": "John", "lastName": "Smith", "isAlive": true } @endjson
Regards.
(--------)
Hi all,Perhaps the both, depending of a global flag or a global parameter.... (to avoid printing a comment when it is not necessary)...Then for the development:
@startjson { "firstName": "John", "lastName": "Smith", "isAlive": true // True when alive } @endjson
FYI, I update also:
JSON Comments are not part of the standard. https://datatracker.ietf.org/doc/html/rfc8259
Should really be worked through IETF standards process for industry compatibility.