Re: [community-group] Support json5 in format (#175)

I agree with @TravisSpomer and @kaelig on this. JSON5 (and other supersets of JSON like JSONC) are not as broadly supported as JSON. Many programming languages can parse JSON out of the box, but formats like JSON5 would necessitate pulling in additional libs (assuming they're even available).

I'm not sure if the spec should explicitly allow parsers to support formats besides JSON. However, I see no reason why a parser couldn't support other file formats besides the DTCG one, such as DTCG-in-JSON5 or even something entirely different 😉.

Another approach might be to create a pre-processor. Just like we havr Sass, LESS and others for

-- 
GitHub Notification of comment by c1rrus
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/175#issuecomment-1324717936 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 23 November 2022 08:47:44 UTC