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

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 2026 batch! Applications are open till July 27.

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

Search: