Forum Discussion

Salle's avatar
Salle
Advocate I
3 years ago
Solved

Deneb vega-lite syntax for commenting code?

Hello everyone, very new to the wonderful world of Deneb like many others.   I have tried to add comments to my code by using  // comments /* comments */ But receive error message...   What is...
  • dm-p's avatar
    3 years ago

    Hi Salle,

    Comments aren't a supported feature of JSON, so likewise Deneb currently does not support them.

    Version 2.0 will have updated functionality to support JSONC (JSON with JavaScript style comments). Whilst v2 development is in progress and currently doesn't have a solid ETA, I have a short walkthrough of this feature available here if you want to see how it will work when it is delivered.

    Regards,

    Daniel