一、引入的jar包
import com.alibaba.fastjson.JSON;
二、取值循环
String str= " [{"sort":"1","item":"单选1","value":"答案一"},{"sort":2,"item":"选项2","value":"答案二"}]";
List<HashMap> list =JSON.parseArray(str, HashMap.class);
for (Map<String,Object> hashMap : list) {System.out.println(hashMap);String item=(String) hashMap.get("item");
}