Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

deserialize object to dictionary c#

string json = @"{""key1"":""value1"",""key2"":""value2""}";

var values = JsonConvert.DeserializeObject<Dictionary<string, string>>(json);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #deserialize #object #dictionary
ADD COMMENT
Topic
Name
6+4 =