1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-26 16:57:59 +01:00

remove remaining jsonnet deps

This commit is contained in:
Kyle Spearrin 2019-07-02 14:06:21 -04:00
parent b308b4c54f
commit 0588bbc41d

View File

@ -3,7 +3,6 @@ using System.Diagnostics;
using Foundation;
using UIKit;
using Bit.iOS.Core;
using Newtonsoft.Json;
using Bit.iOS.Extension.Models;
using MobileCoreServices;
using Bit.iOS.Core.Utilities;
@ -368,7 +367,7 @@ namespace Bit.iOS.Extension
{
if(jsonString != null)
{
var convertedObject = JsonConvert.DeserializeObject<T>(jsonString.ToString());
var convertedObject = CoreHelpers.DeserializeJson<T>(jsonString.ToString());
return convertedObject;
}
return default(T);