From 73730c4e0f3db793f0ae7f5009e0149087d7a3c8 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Thu, 15 Dec 2022 02:06:31 +0000 Subject: [PATCH] Replace NewtonSoft.Json for System.Text.Json. --- Aaru.CommonTypes.csproj | 1 - Metadata/DeviceReport.cs | 3 ++- Structs/Devices/SCSI/Modes/2A.cs | 2 +- Structs/Filesystems.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Aaru.CommonTypes.csproj b/Aaru.CommonTypes.csproj index 37afed2..c41030d 100644 --- a/Aaru.CommonTypes.csproj +++ b/Aaru.CommonTypes.csproj @@ -42,7 +42,6 @@ true - diff --git a/Metadata/DeviceReport.cs b/Metadata/DeviceReport.cs index 81918ac..b4349c9 100644 --- a/Metadata/DeviceReport.cs +++ b/Metadata/DeviceReport.cs @@ -42,11 +42,12 @@ using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; +using System.Text.Json.Serialization; using Aaru.CommonTypes.Enums; using Aaru.CommonTypes.Structs.Devices.ATA; using Aaru.CommonTypes.Structs.Devices.SCSI; using Aaru.CommonTypes.Structs.Devices.SCSI.Modes; -using Newtonsoft.Json; + #pragma warning disable 1591 diff --git a/Structs/Devices/SCSI/Modes/2A.cs b/Structs/Devices/SCSI/Modes/2A.cs index 2d5664b..83a6da4 100644 --- a/Structs/Devices/SCSI/Modes/2A.cs +++ b/Structs/Devices/SCSI/Modes/2A.cs @@ -33,7 +33,7 @@ using System; using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; -using Newtonsoft.Json; +using System.Text.Json.Serialization; namespace Aaru.CommonTypes.Structs.Devices.SCSI.Modes; diff --git a/Structs/Filesystems.cs b/Structs/Filesystems.cs index c8b42cc..9c1a4cf 100644 --- a/Structs/Filesystems.cs +++ b/Structs/Filesystems.cs @@ -39,7 +39,7 @@ using System; using System.Runtime.InteropServices; -using Newtonsoft.Json; +using System.Text.Json.Serialization; namespace Aaru.CommonTypes.Structs;