This commit is contained in:
454313500@qq.com
2021-03-20 14:12:24 +08:00
parent 02146b4d05
commit 59a42ae48f
48 changed files with 1465 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,12 @@
using System;
namespace CC.Yi.Common
{
public static class JsonFactory
{
public static string JsonToString(object q)
{
return Newtonsoft.Json.JsonConvert.SerializeObject(q);
}
}
}