Closed hedhyw closed 1 year ago
Support JSON with comments as an input:
{ /* The most popular text. */ "hello": "world" // My first JSON. }
Comments improve readability, but unfortunately, it is not a valid JSON.
The perfect case is to have the ability to see comments in the input, but it is not easy to implement so fast.
So I propose, to just remove comments if some flag is provided.
And use, for example: jsoncjson.NewReader(...) in main.go#L95 and main.go#L99
I can work on implementing full support of JSON with comments. $1000 😁
@antonmedv Did you get the bucks to start this? I can work along you on this.
Nope) feel free to implement)
Now fx suppoers it.
Description
Support JSON with comments as an input:
Why?
Comments improve readability, but unfortunately, it is not a valid JSON.
How?
The perfect case is to have the ability to see comments in the input, but it is not easy to implement so fast.
So I propose, to just remove comments if some flag is provided.
And use, for example: jsoncjson.NewReader(...) in main.go#L95 and main.go#L99