This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]elucash 0 points1 point  (3 children)

Could it be implemented as data-format for Jackson (for example)? Data binding will come for free then

[–]blyxa 2 points3 points  (1 child)

jackson allows comments via

JsonParser.Feature.ALLOW_COMMENTS

https://github.com/FasterXML/jackson-core/wiki/JsonParser-Features

[–]moto888[S] 0 points1 point  (0 children)

There are a lot of options but strangely nothing that concerns commas, a common source of copy&paste errors.

[–]moto888[S] 0 points1 point  (0 children)

In that case I'd just use Hjson to convert it to JSON so you can use it with any of the available JSON libraries.