Re:Show HN: This website is valid JSON
by TheKarateKid on Wednesday December 09, 2020 @06:46PM
(#25367229)
It solves the problem of having to use multiple languages across front/back-end by using Javascript/JSON for everything. It may seem as ridiculous as using Javascript to write back-end server-side and desktop software, yet along came Node and industry hype and here we are today doing exactly that.
Re:Show HN: This website is valid JSON
by chrismorgan on Thursday December 10, 2020 @02:31AM
(#25370892)
As I’ve said, I have no objection to using this sort of JSON as an input format, but I do object to deploying in this format.
The only tenuous claim it can have is that the document is JSON, so if you want to parse the data, maybe you’ll find it easier? But in practice this is not useful: you can already embed or link to a JSON representation in the HTML, and that JSON representation then won’t be constrained by having to embed the renderer, either.
Not all inventions are useful.