Skip to content

[FEATURE] Please support *.json5 extension #178

@spyro2000

Description

@spyro2000

Why do we need this improvement?

I love to use JSON5 instead of json because I can add comments. When I change the extension from "json" to "json5" the file is still recognized as AsyncAPI file, but the preview stops working, same for the validation

Image

This also happens when there actually aren't any comments in the file.

How will this change help?

User could comment their files, having trailing commas etc.

Screenshots

No response

How could it be implemented/designed?

Internally convert JSON5 to JSON before processing it.

🚧 Breaking changes

No

👀 Have you checked for similar open issues?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

None

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions