Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

unformatted html with sugar is not really helpful to humans, is it?


If the response is JSON where the JSON values contain HTML, then is the response "JSON" or "HTML".

I would call this response "JSON" not "HTML".

The JSON is unformatted, i.e., no "prettyPrint".

The text-only browser I use to read HTML works with this JSON, it is easy to read, because the JSON values contain HTML tags.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: