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.
1 parent 5c75112 commit b816ee7Copy full SHA for b816ee7
BunqSdk/Model/Core/BunqModel.cs
@@ -92,6 +92,13 @@ protected static BunqResponse<T> FromJson<T>(BunqResponseRaw responseRaw)
92
return new BunqResponse<T>(responseValue, responseRaw.Headers);
93
}
94
95
+ public static T FromJsonString<T>(string json)
96
+ {
97
+ var modelValue = BunqJsonConvert.DeserializeObject<T>(json);
98
+
99
+ return modelValue;
100
+ }
101
102
/// <summary>
103
/// De-serializes a list from JSON.
104
/// </summary>
0 commit comments