Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 7
    Actually can't you just do JSON.serialize = JSON.stringify? Commented Sep 7, 2012 at 15:41
  • why yes you can. Commented Sep 7, 2012 at 15:42
  • 1
    I suppose after re-reading my question, I'm seeing that in my C# example, I'm serializing the XML and THEN converting the serialized object ToString();. There inlies the rub. Commented Sep 7, 2012 at 16:22
  • I guess for continuity, it would be better (for me) to have a method that looks like this... JSON.serialize(obj).toString(); or jsonObject().toString();... this way it would look much like my C#... but now I'm over complicating it. Commented Sep 7, 2012 at 16:23