Skip to content

Conversation

ryno1234
Copy link
Contributor

This should fix issue #318

@haacked
Copy link
Contributor

haacked commented Nov 18, 2013

Mind adding a unit test that fails without this change?

@ryno1234
Copy link
Contributor Author

Will do!

haacked and others added 3 commits March 19, 2014 15:17
Fixed an overload, which is not available in compact framework.
… when their target type is specified as "System.Object" instead of a more specific type.

* The side effect of this is that now you can recursively deserialize a JSON object that has mixed value types by specifying Dictionary<string, object> as the deserialization target.
Conflicts:
	RestSharp/Deserializers/JsonDeserializer.cs
@ryno1234
Copy link
Contributor Author

I've added a unit test as well as some additional code. Please see the commit message for details and of course, let me know if you have any questions.

@ryno1234 ryno1234 changed the title Added support for JsonArray deserialization Added support for JsonArray and JsonObject deserialization when target type is specified as System.Object Mar 20, 2014
haacked added a commit that referenced this pull request Mar 20, 2014
Added support for JsonArray and JsonObject deserialization when target type is specified as System.Object
@haacked haacked merged commit 70be25d into restsharp:master Mar 20, 2014
@haacked
Copy link
Contributor

haacked commented Mar 20, 2014

Thanks! 👍

@ryno1234
Copy link
Contributor Author

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants