I have a string value:
var responseString = {"ErrorType":"ServerError","Message":"Incoming data error.","Properties":null}
When I call JObject.Parse(responseString);, I get the following dynamic object:
{{
"ErrorType": "ServerError",
"Message": "Incoming data error.",
"Properties": null
}}
Why is JObject creating a dynamic object that is an object wrapped in an object? I was hoping to write code to access the Message property such as responseMessage.Message as string, but that throws an error.