Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow parsing request bodies and examples that has JSON with comments #190

Merged
merged 1 commit into from
Jun 18, 2022
Merged

Allow parsing request bodies and examples that has JSON with comments #190

merged 1 commit into from
Jun 18, 2022

Conversation

dhwaneetbhatt
Copy link
Contributor

Postman supports JSON with comments for request bodies and examples. See issue filed at: #188.

This PR updates the library used to parse JSON from native JSON.parse to one supported by Microsoft: https://github.com/microsoft/node-jsonc-parser.

This library is used by VSCode and thus has a high chance of being maintained. It is fully backwards compatible with the native JSON library,

@joolfe joolfe merged commit 76a61c8 into joolfe:develop Jun 18, 2022
@dhwaneetbhatt dhwaneetbhatt deleted the develop branch December 28, 2022 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants