-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
Hello,
I was try to deserialize json data to dynamic format by wiki documentation but always fail.
and then i have an idea to change the format back to JsonObject and working.
Your Wiki Reference
Deserialize JSON String
Using dynamic
dynamic json = SimpleJson.DeserializeObject(data);
string firstName = json.first_name;
DateTime startDate = json.startDate
int voteCount = json.voteCount
List results = json.results;
My right way
Deserialize JSON String
Using dynamic
dynamic json = SimpleJson.DeserializeObject(data);
string firstName = json["first_name"];
DateTime startDate = json["startDate"];
int voteCount = json["voteCount"];
List results = json["results"];
Metadata
Metadata
Assignees
Labels
No labels