var result = JsonDocument.FromString("[{“test”:123}]");
Throws error “Invalid Cast Exception”
var result = JsonDocument.FromString("[{“test”:123}]");
Throws error “Invalid Cast Exception”
Which platform?
iOS using friday’s latest beta
Reproduced and fixed. As a workaround, make sure the outer entity is a Json Object, not a Json Array. The fix will be in git in a few moments, and next week’s build will have it too.
Great thanks