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

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?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue?
None
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
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?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue?
None