[[7080393202758320385,"RB01Ps012306300001","C","2023-06-30T11:54:46","730940","2023-06-30T11:54:46","2023-06-30T11:54:46","",738414,715950,"2023-06-30T00:00:00",268.0000000000,268.0000000000,737827,"EQLZ 1100","23FQ11084410",0,10101,10101,0,1.0000000000,1.0000000000,268.0000000000,268.0000000000,100.0000000000,0.0,"0"],[7080393733975310593,"RB01Ps012306300002","C","2023-06-30T11:56:53","730940","2023-06-30T11:56:53","2023-06-30T11:56:53","",738414,715950,"2023-06-30T00:00:00",-268.0000000000,-268.0000000000,737827,"EQLZ 1100","23FQ11084410",0,10101,10101,0,-1.0000000000,-1.0000000000,-268.0000000000,-268.0000000000,100.0000000000,0.0,"0"],[7080751531783356673,"RB01Ps012307010001","C","2023-07-01T11:38:39","730940","2023-07-01T11:38:39","2023-07-01T11:38:39","",738414,715950,"2023-07-01T00:00:00",388.0000000000,288.0000000000,735857,"EQUALIZER 官方 FAULT LESS低帮\"无鞋带\" \"一脚蹬\"反硫化错版鞋 原创帆布鞋板鞋男女运动艹 无中生有","22FSFSL00405",0,10101,10101,0,1.0000000000,1.0000000000,388.0000000000,288.0000000000,74.2268040000,0.0,"0"]]通过gson().fromjson转换
时间: 2023-07-22 11:12:50 浏览: 183
vite-plugin-full-reload::recycling_symbol:修改文件后自动重新加载页面
你可以使用Gson库将这个JSON字符串转换为Java对象。根据你提供的JSON字符串,它包含一个二维数组,每个子数组表示一个对象。以下是使用Gson的示例代码:
```java
import com.google.gson.Gson;
public class Main {
public static void main(String[] args) {
String json = "[[7080393202758320385,\"RB01Ps012306300001\",\"C\",\"2023-06-30T11:54:46\",\"730940\",\"2023-06-30T11:54:46\",\"2023-06-30T11:54:46\",\"\",738414,715950,\"2023-06-30T00:00:00\",268.0000000000,268.0000000000,737827,\"EQLZ 1100\",\"23FQ11084410\",0,10101,10101,0,1.0000000000,1.0000000000,268.0000000000,268.0000000000,100.0000000000,0.0,\"0\"],[7080393733975310593,\"RB01Ps012306300002\",\"C\",\"2023-06-30T11:56:53\",\"730940\",\"2023-06-30T11:56:53\",\"2023-06-30T11:56:53\",\"\",738414,715950,\"2023-06-30T00:00:00\",-268.0000000000,-268.0000000000,737827,\"EQLZ 1100\",\"23FQ11084410\",0,10101,10101,0,-1.0000000000,-1.0000000000,-268.0000000000,-268.0000000000,100.0000000000,0.0,\"0\"],[7080751531783356673,\"RB01Ps012307010001\",\"C\",\"2023-07-01T11:38:39\",\"730940\",\"2023-07-01T11:38:39\",\"2023-07-01T11:38:39\",\"\",738414,715950,\"2023-07-01T00:00:00\",388.0000000000,***
阅读全文