Replies: 6 comments
-
Hello @nijikokun ! Can I get this task? |
Beta Was this translation helpful? Give feedback.
-
Welcome @diyorbek! Absolutely, feel free to ask questions if needed |
Beta Was this translation helpful? Give feedback.
-
@nijikokun I played around with code and somehow achieved what we want. But there is a problem with the code editor. There are javascript and JSON modes. Currently, it's working in JSON mode. We will need JS mode to be able to use object literals, but JS mode gives us syntax error. Because it treats It seems like we need a specific document type for this case. I made a research, but couldn't find anything helpful. What is your thoughts on this? Btw, as I said, I achieved what we want. But the editor is in |
Beta Was this translation helpful? Give feedback.
-
This makes sense, I'll defer to @develohpanda for implementation details, a naïve approach I can think of is to wrap the object with something like |
Beta Was this translation helpful? Give feedback.
-
@nijikokun Hello! It's been a while since the last time I gave some updates. The feature is ready! But there are still some enhancements to be done. I will send a PR so that we could discuss some implementation details and improve it. I am sure that there are some problems as I am not very familiar with the codebase and the conventions). |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Since 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
JSON
Beta Was this translation helpful? Give feedback.
All reactions