0
我有一個json字符串如下。如何從json中刪除雙引號?
"{
"stepno": 1,
"content": "dddd",
"icon": "plug icon",
"header": "Uptime Guarantee",
"headcolor": "ffffff",
"tagline": "Check out our plug-in marketplace",
"taglinecolor": "ffffff",
"isActive": true
}"
我想從屬性中刪除雙引號,如下。
"{
stepno: 1,
content:'',
icon:'plug icon',
header:'Uptime Guarantee',
headcolor:'ffffff',
tagline:'Check out our plug-in marketplace',
taglinecolor:'ffffff',
isActive:true
}"
我該怎麼做?請給我建議。
爲什麼你需要刪除雙引號? – Mostafiz
你不會再有JSON了。 – Joey