asp.net Javascript serialiser

Posted by nuubee on Stack Overflow See other posts from Stack Overflow or by nuubee
Published on 2010-06-03T13:10:07Z Indexed on 2010/06/03 13:14 UTC
Read the original article Hit count: 192

Filed under:

Hi Im having trouble getting the Javascript serialiser to convert this Json string to alist of strings

{'Roles':['Role1','Role2','Role3','Role4']}";

(new JavaScriptSerializer()).Deserialize< List<String> >( strInput )

it returns an empty list

© Stack Overflow or respective owner

Related posts about ASP.NET