mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-13 16:23:32 +00:00
fix[json]: json node转字符串不应该调用asText
This commit is contained in:
@@ -210,7 +210,7 @@ public abstract class JsonUtils {
|
||||
while (iterator.hasNext()) {
|
||||
var node = iterator.next();
|
||||
var field = node.getKey();
|
||||
var value = node.getValue().asText();
|
||||
var value = node.getValue().toString();
|
||||
jsonMap.put(field, value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user