---修复关联关系一对多bug

This commit is contained in:
2026-01-20 17:38:09 +08:00
parent 221679927d
commit c96a0f3023
17 changed files with 162 additions and 112 deletions

View File

@ -0,0 +1,15 @@
package com.xjrsoft.test;
import java.util.Map;
import cn.hutool.json.JSONUtil;
public class JsonTest {
public static void main(String[] args) {
String json = "{\"name\":\"John\",\"age\":30,\"city\":\"New York\"}";
Map<String,Object> bean = JSONUtil.toBean(json, Map.class, true);
System.out.println(bean);
}
}