读取json

xiaoxiao2021-02-28  93



另外还要主要读取文件的格式:

1.如果是[{},{},{}]

要用到JSONArray joar=JSONArray.fromObject(data);

2.如果是{[],[]}

要用到JSONObject jo=JSONObject.fromObject(data);

转载请注明原文地址: https://www.6miu.com/read-57810.html

最新回复(0)