我應該如何轉換成這種格式將對象轉換爲json?
{"Campaign Technical Approach Plan": "PM",
"Campaign Monitoring": "India",
"Email HTML Build": "India",
"Email Quality Assurance": "India"}
從這種格式
[[Campaign Technical Approach Plan,__PM__LOCATION__],
[Campaign Monitoring,India],
[Email HTML Build,India],
[Email Quality Assurance,India]]
你試過什麼? – Durga
是的,我試過JSON.stringyfy()。但那不行。 – Neetu
'JSON.stringify'會將JSON對象轉換爲字符串,但您的要求不同。 – Durga