What happens if you tell GitHub it's JSON
{
"hello": "world" // I want my comments!
}
Just tell GitHub it's JavaScript
{
"hello": "world" // I want my comments!
}
What happens if you tell GitHub it's JSON
{
"hello": "world" // I want my comments!
}
Just tell GitHub it's JavaScript
{
"hello": "world" // I want my comments!
}
{ | |
"hello": "world" // I want my comments! | |
} |
@CryDeTaan thanks!
Thanks! I just wrote about this here, and referenced you: Stack Overflow: Can comments be used in JSON?
Testing today:
```json
{
"hello": "world" // comment
}
```jsonc
{
"hello": "world" // comment
}
```json5
{
"hello": "world" // comment
}
@dantebarba one way to cheat it seems to be
yaml
https://stackoverflow.com/a/58946269