1
C#類定義看起來像表示此JSON數據的樣子是什麼?將代表JSON數據的C#類
{
"accountId": "101",
"website": "www.example.com",
"alternateWebsites": [
{
"website": "site2.example.com"
}
],
"email": "[email protected]",
"alternateEmails": [
{
"email": "[email protected]"
}
],
"address": {
"street": "234 Main Street",
"city": "San Diego",
"postalCode": "92101",
"state": "CA"
},
"rankingKeywords":
[{
"keyword": "Coffee",
"localArea": "Sacramento, CA"
}]
}
VS會爲你做到這一點。將JSON複製到剪貼板。 **編輯菜單 - >選擇性粘貼 - >將JSON粘貼爲課程** – Plutonix