Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Convert object to Json String

List<userdetails> details = new List<userdetails>();
userdetails user = new userdetails();
details.Add(new userdetails { userid = 1, username = "suresh", location = "chennai" });
string strserialize = JsonConvert.SerializeObject(details);
Source by infinitbility.com #
 
PREVIOUS NEXT
Tagged: #Convert #object #Json #String
ADD COMMENT
Topic
Name
2+5 =