This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
zhenggm
/
smtweb2
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
修正:parseFromMap方法
master
郑根木
2 years ago
parent
3c16e3bb29
commit
57fdee4c8a
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
smtweb-framework/core/src/main/java/cc/smtweb/framework/core/util/JsonUtil.java
+ 2
- 0
smtweb-framework/core/src/main/java/cc/smtweb/framework/core/util/JsonUtil.java
View File
@@ -123,6 +123,8 @@ public class JsonUtil {
return parse(encodeString(map), clazz);
}
//此方法仅能解析简单属性,准备废弃
@Deprecated
public static <T> T parseSimple(Map map, Class<T> clazz) {
try {
if (map == null || map.isEmpty()) {
Write
Preview
Loading…
Cancel
Save