mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-17 13:45:34 +00:00
fix: added usings, simplified imports, using JsonElement.Deserialize directly instead of JsonSerializer.Deserialize(JsonElement), removed some unused attributes
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using ElectronNET.API.Serialization;
|
||||
using System;
|
||||
using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
@@ -83,7 +84,7 @@ namespace ElectronNET.API
|
||||
|
||||
try
|
||||
{
|
||||
data = result.Deserialize<T>(Serialization.ElectronJson.Options);
|
||||
data = result.Deserialize<T>(ElectronJson.Options);
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user