mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
小修小改
This commit is contained in:
18
Serein.Extend.NewtonsoftJson/NewtonsoftJsonExtend.cs
Normal file
18
Serein.Extend.NewtonsoftJson/NewtonsoftJsonExtend.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
using Serein.Library.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Serein.Extend.NewtonsoftJson
|
||||
{
|
||||
public static class NewtonsoftJsonExtend
|
||||
{
|
||||
public static string ToJsonText(this object data)
|
||||
{
|
||||
return JsonHelper.Serialize(data);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user