Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

c# adding a root node to a json object

var obj = new { user = user };

string json = JsonConvert.SerializeObject(obj);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #adding #root #node #json #object
ADD COMMENT
Topic
Name
4+5 =