我正在将下面的GSON JsonObject从servlet发送到JSP:-
{
"TradesJSONArray": [{
"SOURCE": "Trayport",
"TRAN_NUM": 11884531,
"EXCHANGETIME": "2022-07-28 12:30:56.0",
"ERROR_DETAILS": "NULL"
}, {
"SOURCE": "Trayport",
"TRAN_NUM": 11884532,
"EXCHANGETIME": "2022-07-28 12:30:55.0",
"ERROR_DETAILS": "NULL"
}]
}
如何在JSP中读取或解析此JSON,以创建一个将Json键作为列名、将Json值作为列数据的表?
感谢并问候Saswata Mandal
1条答案
按热度按时间p5cysglq1#
我可以通过以下方式做到: