Convert JSON to HTML server-side
See original GitHub issueSo first of all, thank you @artf for this amazing project.
I have a question: Is it possible to easily convert the components-JSON to HTML on the server-side (in a Node.js environment)? If it is possible, can you give me a hint how to achieve this?
On the client-side it’s quite straightforward:
I can get the components-JSON (JSON.stringify(editor.getComponents());
) and save it to my database. Then I can reuse my components later (editor.setComponents();
) and get the HTML (editor.getHtml();
) to show it in the browser. In my case though, I have to do it on the server-side.
Any help would be greatly appreciated!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (6 by maintainers)
Top Results From Across the Web
How to convert JSON to HTML - Educative.io
There are two methods to convert JSON to HTML, one is through using online converters and the other is through using JSON functions....
Read more >JSON HTML - W3Schools
JSON can very easily be translated into JavaScript. ... myObj = JSON.parse(this. ... Make the HTML table based on the value of a...
Read more >How to send a JSON object to a server using Javascript?
How to Generate or Send JSON Data at the Server Side using Node.js ? 2. How to parse JSON object using JSON.stringify() in...
Read more >How to Send and Receive JSON Data to and from the Server
Send JSON Data from the Server Side · Create a new object for storing the response data. · Convert the new object to...
Read more >Convert json data to a html table - javascript - Stack Overflow
Convert json data to a html table [closed] · I think trirand.com/blog is what you are looking for. It takes JSON and converts...
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
Yes, if you have any kind of interactive content, that probably wouldn’t work. Fortunately that’s not the case for my application.
Hello,
For future questions or technical issues, which aren’t bugs, GitHub’s Discussions tab is the place to be.
Don’t forget to close this issue if it is resolved or write a new detailed message in Discussions -> Q&A category (and close this issue).
Thank you for your understanding.