您将如何在JSON 模式中编写以下二维数组?网格固定为 16*13。它包含完全空的行或具有 int(0-99) 或空字符串等值的行。
下面是一个数组示例:
[
[],
[],
[],
[],
[],
[],
['','','','',94,78,37,78,'','','',61,71],
[42,82,53,62,65,47,65,77,26,93,69,69,51],
[38,07,47,06,87,90,21,41,50,24,55,45,24],
[55,69,'','','',83,04,90,34,88,99,28,71],
[11,08,91,62,'','','','',36,53,57,76,65],
[21,85,34,62,'','','','',76,67,20,77,85],
[72,73,34,26,'','','','',37,22,49,89,26],
[84,11,19,84,34,53,19,08,10,12,31,62,24],
[36,94,43,27,71,30,86,96,37,45,19,60,50],
[31,05,27,74,10,33,22,07,03,77,82,23,50]
]
我想知道在没有数百个 LOC 的情况下编写这个的最佳方法是什么......
提前致谢!