转成double

double(str);

转成int

int(str);

转成Long

long(str);

转成String

string(str);

转成boolean

boolean(str);

转成JSON

json(object);
object类型可以为字符串、集合、对象等

JSONArray转List

arrayToList(object);
object类型可以为JSONArray ,也可以为JSONArray字符串
当object为数组时,如 [“111”,”2222”],转化为List
当object为JSONObject数组时,转化为List>

List转成List

listToListMap(list,’key’);
list是List 执行函数后转成 List>

List转成List

listMapToList(list,’key’);
和前面函数相反,key为选取的数据