timo / json_fast

a naive imperative json parser in perl6, to evaluate performance against JSON::Tiny
Artistic License 2.0
26 stars 20 forks source link

Add support for JSONC #85

Closed lizmat closed 1 year ago

lizmat commented 1 year ago

At the expense of one extra check for each time whitespace is being nommed.

See: https://changelog.com/news/jsonc-is-a-superset-of-json-which-supports-comments-6LwR for more information.

Basically this allows // until end of line and / / comments in any place where whitespace is allowed.