File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ namespace GameFrameX.Web.Runtime
1010 public static class HttpJsonResultHelper
1111 {
1212 /// <summary>
13- /// 将JSON字符串转换为HttpJsonResultData<T> 对象。
13+ /// 将JSON字符串转换为HttpJsonResultData<T> 对象。
1414 /// 该方法尝试反序列化给定的JSON字符串,并根据HTTP响应的状态码设置IsSuccess属性。
1515 /// 如果响应成功,Data属性将包含反序列化后的数据对象;否则,Data将为默认值。
1616 /// </summary>
1717 /// <typeparam name="T">要反序列化为的对象类型,必须是类并具有无参数构造函数。</typeparam>
1818 /// <param name="jsonResult">包含HTTP响应的JSON字符串。</param>
19- /// <returns>HttpJsonResultData<T> 对象,表示反序列化的结果。</returns>
19+ /// <returns>HttpJsonResultData<T> 对象,表示反序列化的结果。</returns>
2020 public static HttpJsonResultData < T > ToHttpJsonResultData < T > ( this string jsonResult ) where T : class , new ( )
2121 {
2222 HttpJsonResultData < T > resultData = new HttpJsonResultData < T >
You can’t perform that action at this time.
0 commit comments