Skip to content

project.json and manifest.json are jsonc and cannot be parsed by std::encoding::json #3109

@Ecoral360

Description

@Ecoral360

It is quite awkward that we cannot use the std::encoding::json parser to read the standard project.json or manifest.json.

Proposals :

  1. Make project.json and manifest.json valid json by removing comments and trailing commas.
    OR
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions