如何使用GSON / JSON将字符串数组转换为对象?
2022-09-02 22:50:52
我有一个这样的json:
[
[
"Passport Number",
"NATIONALITY",
"REASONS"
],
[
"SHAIS100",
"INDIA",
""
],
[
"",
"",
"Agent ID is not matched."
],
[
"",
"",
""
]
]
我想填充这个,请告诉我该怎么做?ArrayList<String[]>
空字符串不应转换为 null。