2021-03-20 14:12:24 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace CC.Yi.Common
|
|
|
|
|
|
{
|
2021-03-21 15:51:49 +08:00
|
|
|
|
public static class JsonHelper
|
2021-03-20 14:12:24 +08:00
|
|
|
|
{
|
|
|
|
|
|
public static string JsonToString(object q)
|
|
|
|
|
|
{
|
|
|
|
|
|
return Newtonsoft.Json.JsonConvert.SerializeObject(q);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|