Hacker News new | past | comments | ask | show | jobs | submit login




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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: