Closed jasper2virtual closed 2 years ago
This isn't supported by JSON, and therefore should not be supported in ND-JSON, in my opinion.
Also agree. Maybe speak to the JSON5 group about a NDJSON5 ?
One way to manage comments in JSON, is to use a key "comment"
(you may use another key name).
{"data":"one","visible":true}
{"comment":{"data":"two","visible":false},"msg":"skip me"}
{"data":"three","visible":true}
sometime we may need to skip some data temporary. can ndjson file be comment line by line. for example , {"data":"one","visible":true} // skip me {"data":"two","visible":false} {"data":"three","visible":true}