[Feature Request] "JSON from JSON5" mode
See original GitHub issueBasically in the dropdown under </> Text
I want to be able to select JSON from JSON5
and the behavior would simply be that insomnia internally does JSON.stringify(JSON5.parse(requestBody));
(simple enough right?). If there’s a parsing error just print it in the Preview
window.
Advantages
- no more annoying quotes everywhere!
- single quotes
- trailing commas in arrays
- simpler object syntax (no more curly braces)
- comments! (the way you like them, no funky syntax)
- anything else JSON5 offers 😃
This similar to #704 but I find that issue vague in what it’s exactly asking.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:7 (1 by maintainers)
Top Results From Across the Web
JSON5 – JSON for Humans | JSON5
To report bugs or request features regarding the JSON5 data format, please submit an issue to the official specification repository. Note that we...
Read more >json5 - PyPI
A Python implementation of the JSON5 data format. JSON5 extends the JSON data interchange format to make it slightly more usable as a...
Read more >json5 | Yarn - Package Manager
JSON5 is an extension to the popular JSON file format that aims to be easier to write and maintain by hand (e.g. for...
Read more >JSON5: JSON with comments (and more!) - Markus Dosch
Meet JSON5, a JSON extension, that extends JSON not just with comments, but other useful syntactic features (e.g. trailing commas are allowed, ...
Read more >Read, Write and Parse JSON using Python - GeeksforGeeks
json in writing mode using 'w'. The file will be created if it does not exist. Json.dump() will transform dictionary to a JSON...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is this implemented?