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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -