I want to deserialize a JSON string that I don't know its Type to an object of type Object
and be able to access its properties using reflection.
when I used this
object myObject = JsonConvert.DeserializeObject("{\'Id\':\'1\'}");
the type of myObject
is of type JObject
and I am not able to access its properties using reflection.
is there a way to do so using Json.net or any other JSON deserializer?