请注意不要错误地引导jar包。
import net.sf.json.JSONArray;
//第一类jsonarraydatajson=JSON array.from object (crea gathering ); listcreausertemplatelist=(listcreausertemplate ) JSON array.to collection (data JSON,CreaUserTemplate.class ); creausertemplateservice.insert batch (列表; //第二类listcreausertemplatetemplateslist=newarraylistcreausertemplate (; templates list=JSON.parse array (crea gathering,CreaUserTemplate.class ); creausertemplateservice.insert batch (templates list );