0

i am using JsonConvert.SerializeObject and convert object to json but getting json like as :

"{\"ID\":5,\"name\":\"czxc\","createdOn\":\"2015-01-17T11:33:39.9213672+05:30\"}"

Can any one help me how to Parse this json to right format like as :

"{"ID":5,"name":"czxc","createdOn":"2015-01-17T11:33:39.9213672+05:30"}"

using c#.Please help me.

1
  • check jso2csharp.com Commented Jan 17, 2015 at 6:41

1 Answer 1

3

The backslashes \ are added by the Visual Studio Debugger, they are not in the actual string.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.