Whenever I try to call an asp.net mvc action method that returns a JsonNetResult, I encounter an error. I am using the provided code for this purpose.
Upon inspecting the response body, I notice that there seems to be an issue with displaying the characters "<" and ">".
{
"archivedEmailsData":[
{
"Id":294455,
"Date":"2009-09-10T15:20:00",
"Subject":"Testing fix in 2.20.8.0 - quotes or single 'quote' and char < and="">"
}]
}
The original text of the object reads as follows: Subject "Testing fix in 2.20.8.0 - quotes or single 'quote' and char < and >" string
I have tried making the call using angularjs as well as jquery, but unfortunately encounter the same issue in both cases.