v1.0.3
This commit is contained in:
12
CC.Yi.Common/JsonHelper.cs
Normal file
12
CC.Yi.Common/JsonHelper.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace CC.Yi.Common
|
||||
{
|
||||
public static class JsonHelper
|
||||
{
|
||||
public static string JsonToString(object q)
|
||||
{
|
||||
return Newtonsoft.Json.JsonConvert.SerializeObject(q);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user