mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 18:38:27 +03:00
remove remaining jsonnet deps
This commit is contained in:
parent
b308b4c54f
commit
0588bbc41d
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@ using System.Diagnostics;
|
||||||
using Foundation;
|
using Foundation;
|
||||||
using UIKit;
|
using UIKit;
|
||||||
using Bit.iOS.Core;
|
using Bit.iOS.Core;
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Bit.iOS.Extension.Models;
|
using Bit.iOS.Extension.Models;
|
||||||
using MobileCoreServices;
|
using MobileCoreServices;
|
||||||
using Bit.iOS.Core.Utilities;
|
using Bit.iOS.Core.Utilities;
|
||||||
|
@ -368,7 +367,7 @@ namespace Bit.iOS.Extension
|
||||||
{
|
{
|
||||||
if(jsonString != null)
|
if(jsonString != null)
|
||||||
{
|
{
|
||||||
var convertedObject = JsonConvert.DeserializeObject<T>(jsonString.ToString());
|
var convertedObject = CoreHelpers.DeserializeJson<T>(jsonString.ToString());
|
||||||
return convertedObject;
|
return convertedObject;
|
||||||
}
|
}
|
||||||
return default(T);
|
return default(T);
|
||||||
|
|
Loading…
Reference in a new issue