所以我有以下样本 表,我需要将每行每个单元格的值传递给控制器。
现在,一旦我点击TEST按钮,每个单元格值将被放置在一个数组中。结果将是这样的:
[
[
{"key":"A","value":"1"},
{"key":"B","value":"2"},
{"key":"C","value":"3"},
{"key":"D","value":"4"},
{"key":"E","value":"5"},
],
[
{"key":"A","value":"6"},
{"key":"B","value":"7"},
{"key":"C","value":"8"},
{"key":"D","value":"9"},
{"key":"E","value":"0"},
]
]
我如何将这种阵列传递给我的弹簧控制器? 任何帮助将不胜感激。谢谢!