fastjson abnormal (set of character strings transformed into an array of strings)

 I was in the project, because by a string type of list collection, and then need to send the string to the front, for resolution.

However, the front end of a string is received, can not be resolved.

So the use of

ArrayUtils.clone (JSONObject.parseArray (string) .toArray ( )) 
This method, fastjosn transformed into a string array, then converted into a string sent to the front end.

Guess you like

Origin www.cnblogs.com/qingmuchuanqi48/p/11613434.html