Closed dhwaneetbhatt closed 2 years ago
Postman supports JSON with comments for request bodies and examples. See issue filed at: https://github.com/joolfe/postman-to-openapi/issues/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.
JSON.parse
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,
Postman supports JSON with comments for request bodies and examples. See issue filed at: https://github.com/joolfe/postman-to-openapi/issues/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,