fastjson转换指定类型:如map Map<String, Cart> map = JSON.parseObject(cartList, new TypeReference<Map<String, Cart>>(){});