收藏
回答

请问这样的格式数据这么转为list<Map<String,Object>> 这样呢?

[{"start_time":1589705966,"anchor_name":"阿贝","name":"快来看直播啦","end_time":1589750526,"goods":[],"share_img":"http://mmbiz.qpic.cn/mmbiz_png/jVib3Wx8ms4HJUybk8fCladIhAG6HfTZnstHkhgLQBDInwsiaL22w5FxuQjogXgStkTicphwALG6JianVl0XnuHrkQ/0","cover_img":"http://mmbiz.qpic.cn/mmbiz_png/jVib3Wx8ms4HJUybk8fCladIhAG6HfTZnstHkhgLQBDInwsiaL22w5FxuQjogXgStkTicphwALG6JianVl0XnuHrkQ/0","roomid":14,"live_status":103},{"start_time":1589692756,"anchor_name":"刘一凡","name":"浩享直播开始啦","end_time":1589694205,"goods":[],"share_img":"http://mmbiz.qpic.cn/mmbiz_jpg/jVib3Wx8ms4HJUybk8fCladIhAG6HfTZnSoejGOn3DrdF2GLncpKCCe36rt455StxCvFWc41J6I7ryhkPm4IjRQ/0","cover_img":"http://mmbiz.qpic.cn/mmbiz_jpg/jVib3Wx8ms4HJUybk8fCladIhAG6HfTZnSoejGOn3DrdF2GLncpKCCe36rt455StxCvFWc41J6I7ryhkPm4IjRQ/0","roomid":5,"live_status":103},{"start_time":1589691549,"anchor_name":"阿贝","name":"浩享直播啦","end_time":1589693801,"goods":[],"share_img":"http://mmbiz.qpic.cn/mmbiz_jpg/jVib3Wx8ms4HJUybk8fCladIhAG6HfTZnBibKcRPTqgFichm5OFLBCicFyLMebicHeVbZriamGHyCvttUdV0P1DMia30A/0","cover_img":"http://mmbiz.qpic.cn/mmbiz_jpg/jVib3Wx8ms4HJUybk8fCladIhAG6HfTZnXjSZtgPicsaVmO7CY7hicNvmDuvpd5wwqtQX05EqAgDfZyukyOjpoicMA/0","roomid":1,"live_status":103}]


回答关注问题邀请回答
收藏

2 个回答

  • 默
    2020-05-18

    JSON.parse() 把JSON格式转化为对象 它不香吗?

    2020-05-18
    有用 1
    回复 1
  • 竹林冰🐰🍭
    竹林冰🐰🍭
    2020-05-18

    好的,谢谢了

    2020-05-18
    有用
    回复
登录 后发表内容
问题标签