mirror of
https://github.com/bitwarden/mobile.git
synced 2024-12-27 17:08:00 +01:00
remove remaining jsonnet deps
This commit is contained in:
parent
b308b4c54f
commit
0588bbc41d
@ -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 New Issue
Block a user