SyntaxFix
Write A Post
Hire A Developer
Questions
This takes care of nulls
var body = JObject.Parse("anyjsonString"); body?.SelectToken("path-string-prop")?.ToString(); body?.SelectToken("path-double-prop")?.ToObject<double>();