現在我有一個JSON如何製作JSON字典的詞典?
"Types":[
{
"LowCadence":[
{
"Reinforcement":"-1",
"Weight":"100",
"Message":"Pay attention. You're running low cadence. Your cadence is %d steps per minute."
}
]
},
{
"NormalCadence":[
{
"Reinforcement":"0",
"Weight":"100",
"Message":"Great, your cadence is on target. Cadence is %d steps per minute.",
"EnforcementSound":"ding"
}
]
},
{
"HighCadence":[
{
"Reinforcement":"1",
"Weight":"100",
"Message":"Slow down. You're running over your planned cadence. Cadence is %d steps per minute."
}
]
}
]
這個結構,但我想它有這樣的結構
有誰知道如何把它寫在JSON?
謝謝你回答特洛伊,這不適用於網絡,它適用於iOS應用程序 –
好的 - 對不起,如果我回答了錯誤的問題。 –