does the JSON parser of the CtrlX support any comments?
I have quite a long list to register in the diagnostics and it would be nice to put some comments in it.
I know, there is no official standard, but seems some parsers accept comments...
Solved! Go to Solution.
the related developer is back on monday but some answers before:
as you already mentioned comments are not json standard so we did not consider and test them + also did not add some in the example or in our files used by the system apps. Although it's not/will not be officially supported, you may try it...
Another solution maybe would be to add some keys/tags the parser might ignore (also not tried yet).
If there are still some topics, tell us and we gonna ask the developer on monday
as Jochen said, it is possible to add some keys the JSON parser ignores. For instance you can add a key like "comment":
"comment": "My first main diagnostic",
"text": "Successfully finished boot process",
"comment": "My first detailed diagnostic",
"text": "Finished boot process without errors",