var json = [
"{"AccountType":"CurrentLiability","AccountCode":"880","Name":"Owner A Drawings"}",
"{"AccountType":"CurrentLiability","AccountCode":"881","Name":"Owner A Funds Introduced"}",
"{"AccountType":"TermLiability","AccountCode":"900","Name":"Loan"}",
"{"AccountType":"Equity","AccountCode":"960","Name":"Retained Earnings"}",
"{"AccountType":"Equity","AccountCode":"970","Name":"Owner A Share Capital"}"
]
我想在這個格式刪除雙引號: -如何從JSON陣列
[Object, Object, Object, Object, Object, Object, Object, Object]
Array[62]
0
:
Object
$$hashKey
:
"object:3216"
AccountCode
:
"090"
AccountType
:
"Bank"
Name
:
"Business Bank Account"
__proto__
:
Object
1
:
Object
2
:
Object
請仔細閱讀[問]。重要短語:「搜索和研究」和「解釋......阻止你自己解決它的任何困難」。 –
編輯的問題,所以它讀取不像一個「給我的代碼」的問題。告訴我們你試過的東西。 – Amy
[ 「{」 ACCOUNTTYPE 「:」 CurrentLiability 「 」AccountCode「: 」880「, 」名稱「: 」所有者甲圖「}」, 「{」 ACCOUNTTYPE 「:」 CurrentLiability」, 「AccountCode」: 「970」, 「名稱」:「所有者乙圖紙」}「] 我想刪除從第一位置和對象的結束位置的雙引號鑑於JSON本身陣列 –