Skip to content

Commit

Permalink
修正非通用泛型情况下序列化json减少强转.
Browse files Browse the repository at this point in the history
  • Loading branch information
nieqiurong committed Apr 19, 2024
1 parent d8fb223 commit 2f67d16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ public interface IJsonTypeHandler<T> {
* @param obj 对象信息
* @return json字符串
*/
String toJson(Object obj);
String toJson(T obj);

}

0 comments on commit 2f67d16

Please sign in to comment.