c# - JSON.NET - JSON being returned as invalid -


i in controller in .net , returning string using json.net serialize data. serialize method returns string, return in controller string directly.

it being returned "'s , \"'s , coming invalid json reason. common "gotchas" associated returning strings of json directly controller might problematic?

this call:

string s = jsonconvert.serializeobject(mylistof<object>, settings);  return s; 

yet comes invalid json. suspect formatting problem. thanks!


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -