我有以下合同
"shape": {
"type": "MultiPoly",
"points": [
[
[
[
-92.53941242522892,
41.51492979593705
],
[
-92.53942433363545,
41.51493000420402
],
.
.
.
"shape": {
"type": "Poly",
"points": [
[
[
-92.6814794540405,
41.7796968811509
],
[
-92.6820158958435,
41.7801769167539
]
.
.
.
如您所见,MultiPoly
在数组层次结构中有另一个级别。如何创建 POJO 以成功解析这两种情况?可能吗?
List<List<List<Double>>> points;
似乎有效,但仅适用于Poly
s。
谢谢,奥特曼