Ditch Newtonsoft.Json in favor of System.Text.Json

This commit is contained in:
Sardelka9515
2023-03-19 15:13:24 +08:00
parent 0cb1098819
commit 713e005975
22 changed files with 56 additions and 76 deletions

View File

@ -1,9 +1,9 @@
using Newtonsoft.Json;
using RageCoop.Core.Scripting;
using RageCoop.Core.Scripting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace RageCoop.Client.Scripting
@ -14,7 +14,7 @@ namespace RageCoop.Client.Scripting
GetStream = GetStreamMethod;
}
[JsonProperty]
[JsonInclude]
public string FullPath { get; internal set; }
Stream GetStreamMethod()
{