2025-07-28 12:16:29 +08:00
|
|
|
|
using Serein.Library.Utils;
|
2025-07-27 23:46:26 +08:00
|
|
|
|
|
|
|
|
|
|
namespace Serein.Extend.NewtonsoftJson
|
|
|
|
|
|
{
|
|
|
|
|
|
public static class NewtonsoftJsonExtend
|
|
|
|
|
|
{
|
|
|
|
|
|
public static string ToJsonText(this object data)
|
|
|
|
|
|
{
|
|
|
|
|
|
return JsonHelper.Serialize(data);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|