Looping through generic object properties
问题 I have a JSON string stored in a database like this: { "Error": "Lol", "ErrorDate": "2016-05-13T10:43:27.6365795Z", "Application": "Business", "UserName": "Josh", "TraceSession": "moo" } The JSON string is different for each item in the table. In my application I want to deserialize this into an object, but because the JSON is always different I can't create a model. Currently I have this: var jObject = JsonConvert.DeserializeObject(FieldNames); which I thought would work, but now I need to