Click here to Skip to main content
15,917,321 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
I am passing an array from view to the controller using json.stringify() method.
That value is passing to the controller and that is in
"\"[{\\\"id\\\":1 "id\\\":2}]\"" format.I think this is in json format,I want to convert this into {id:1,id:2} format.
I tried to convert this into string format using JsonConvert.serailizeObject(),
but it is displaying in "\"\\\"[{\\\\\\\"id\\\\\\\":1}]\\\"\""format.

can u tell me how can i convert into {id:1,id:2} format or integer format.
Posted
Updated 15-Aug-12 21:19pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900