Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

c3 json from string

using Newtonsoft.Json;

var jsonString =  "{"firstName": "John", "lastName":"Doe"}";

var jsonObject = JObject.Parse(jsonString);

var firstName = (string) jsonObject["firstName"];
var lastName = (string) jsonObject["lastName"];
 
PREVIOUS NEXT
Tagged: #json #string
ADD COMMENT
Topic
Name
6+8 =