代码示例 let jsonStr=`{ "keyWord": "", "page": { "pages": 1, "records": [{ "readFlag": 0 }], "size": 10, "a":null, "b":true, "c":[], "d":{} } }` function addMarks(jsonObj) { if (Array.isArray(jsonObj)) { for (const item of jsonObj) { if