我正在尝试像这样转换字符串:
{"Shops":[
{"city":"Riga","shops":[{"a":"some info here","b":"...","c":"..."},{"a":"some info here","b":"...","c":"..."}]},{"city":"Liepaja","shops":[{"a":"info here","b":"info....","c":"..."}]
]}
到二维数组,比如
shops[0][0]=>{"a":"some info here","b":"...","c":"..."}
shops[1][0]=>{"a":"info here","b":"info....","c":"..."}
可能吗?有没有一些简单的方法可以做到这一点?
我已经搜索,尝试过,但我仍然不知道该怎么做。我是java新手。