deep copy

Use fastJson deep copy to prevent multiple objects from being automatically regarded as one object by java when writing games, and characters cannot be separated independently

Object jsonObject=JSON.parseObject(JSON.toJSONString(parseParamPojo));

parseParamPojo is my object

Guess you like

Origin blog.csdn.net/qq_38403590/article/details/130837309