Replace NewtonSoft.Json for System.Text.Json.

This commit is contained in:
2022-12-15 02:06:31 +00:00
parent c6d2cf38bb
commit 73730c4e0f
4 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,6 @@
<NrtShowRevision>true</NrtShowRevision>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="System.ComponentModel.Annotations" Version="6.0.0-preview.4.21253.7" />
<PackageReference Include="System.Security.Principal.Windows" Version="6.0.0-preview.5.21301.5" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />

View File

@@ -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

View File

@@ -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;

View File

@@ -39,7 +39,7 @@
using System;
using System.Runtime.InteropServices;
using Newtonsoft.Json;
using System.Text.Json.Serialization;
namespace Aaru.CommonTypes.Structs;