We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a54f20d + 4d83f91 commit c2243f7Copy full SHA for c2243f7
1 file changed
src/LitJson/JsonMapper.cs
@@ -877,6 +877,13 @@ public static T ToObject<T> (string json)
877
878
return (T) ReadValue (typeof (T), reader);
879
}
880
+
881
+ public static object ToObject(string json, Type ConvertType )
882
+ {
883
+ JsonReader reader = new JsonReader(json);
884
885
+ return ReadValue(ConvertType, reader);
886
+ }
887
888
public static IJsonWrapper ToWrapper (WrapperFactory factory,
889
JsonReader reader)
0 commit comments