It is quite awkward that we cannot use the std::encoding::json parser to read the standard project.json or manifest.json.
Proposals :
- Make
project.json and manifest.json valid json by removing comments and trailing commas.
OR
- Renaming
project.json and manifest.json to project.jsonc and manifest.jsonc to better communicate the different format and avoid misleading users.
+ Add a jsonc compatible parser in the standard lib.
It is quite awkward that we cannot use the
std::encoding::jsonparser to read the standardproject.jsonormanifest.json.Proposals :
project.jsonandmanifest.jsonvalid json by removing comments and trailing commas.OR
project.jsonandmanifest.jsontoproject.jsoncandmanifest.jsoncto better communicate the different format and avoid misleading users.+ Add a
jsonccompatible parser in the standard lib.