Help a newb out please ... ;-x
I use jQuery to call .net WebAPI to make a Get call. The backend is SQL Server.
In the WebAPI, I use entity framework to call a stored procedure.
var cat = ent.GetCategories();
return Json.Encode(cat);
This fetches the data but back at the browser, the data looks like this and it doesn't plug into my dropdown. I'm guessing it has to do with the escape backslashes. How do I fix this?
"[\"Housing\",\"Jobs\",\"For Sale\",\"Community\",\"Services\"]"