These features would be great additions to Jsonnet. Supporting them will make Jsonnet a superset of JSON5 and thus make the migraion from JSON5 to Jsonnet much easier. Additionally, these features are mostly backward-compatible with existing Jsonnet syntax (except NaN and Infinity). Please consider supporting them.
JSON5 brings ECMAScript 5.1 features to JSON. Jsonnet supports most of the JSON5 features with a few exceptions:
This means that the following JSON5 file cannot be properly loaded as valid Jsonnet:
These features would be great additions to Jsonnet. Supporting them will make Jsonnet a superset of JSON5 and thus make the migraion from JSON5 to Jsonnet much easier. Additionally, these features are mostly backward-compatible with existing Jsonnet syntax (except NaN and Infinity). Please consider supporting them.