I am developing a web API that returns JSON as a content type, the response body may contain characters like ' , " , < and > , they are valid characters in JSON. So my question is whether I should encode HTML for my body Web API response or leave this task to an HTML client that uses my web API?
json html-encode asp.net-web-api
Shuping
source share