diff --git a/BunqSdk/Model/Core/BunqModel.cs b/BunqSdk/Model/Core/BunqModel.cs index 6469aaf..c3caac7 100644 --- a/BunqSdk/Model/Core/BunqModel.cs +++ b/BunqSdk/Model/Core/BunqModel.cs @@ -92,6 +92,13 @@ protected static BunqResponse FromJson(BunqResponseRaw responseRaw) return new BunqResponse(responseValue, responseRaw.Headers); } + public static T FromJsonString(string json) + { + var modelValue = BunqJsonConvert.DeserializeObject(json); + + return modelValue; + } + /// /// De-serializes a list from JSON. ///