bazelbuild / starlark

Starlark Language
Apache License 2.0
2.44k stars 163 forks source link

Support jsonc in json.decode #253

Open ashi009 opened 1 year ago

ashi009 commented 1 year ago

JSON is great for hosting raw data, but not great for human-written configs. It would be nice that json module could allow jsonc inputs (eg. with comments and trailing commas).

stepancheg commented 1 year ago

This repository is about starlark spec, not specific implementation of starlark.

Starlark spec does not define json module (although it probably should).

So this issue should be posted against specific implementation you are using (I guess, Bazel?)

ashi009 commented 1 year ago

For bazel indeed. Will create one for them instead.