Support Object Literals for environments instead of JSON
See original GitHub issueSince the application already converts the provided JSON object to a Object Literal. Not only would it be backwards-compat this change would reduce the time it takes to write the environment and also reduce the number of issues we see due to missing quotation marks as quotation marks inside of Object Literals is not required, but supported - as well as being able to support trailing commas.
Object Literal
{
firstName: "Xie",
lastName: "Bo",
}
JSON
{
"firstName": "Xie",
"lastName": "Bo"
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Javascript: Object Literal vs. JSON | by Daniel Zhou - Medium
Many folks are confused about the difference between JSON and object literal because they have very similar syntax. Object literal syntax is the...
Read more >Support object literals for define #581 - evanw/esbuild - GitHub
Currently the define transform only supports identifiers, strings, numbers, boolean, and null. It would be convenient to also support object ...
Read more >What is the difference between a JS object literal and a JSON ...
Object literals is creating a javascript object in place with brackets as opposed to using the new keyword, or Object.create() . //object ...
Read more >Working with JSON - Learn web development | MDN
In this article, we've given you a simple guide to using JSON in your programs, including how to create and parse JSON, and...
Read more >JSON Configuration Syntax | Terraform - HashiCorp Developer
Terraform also supports an alternative syntax that is JSON-compatible. ... At the root of any JSON-based Terraform configuration is a JSON object.
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 FreeTop 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
Top GitHub Comments
Welcome @Diyorbek! Absolutely, feel free to ask questions if needed
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.