1
我想寫這個使用PHP和json_encodePHP以JSON編碼
{"patient": {"demographics": {}}
}
這是我使用JSON編碼使用陣列。
Array("patient" => Array("demographics" => Array()))
當我回聲輸出,這就是我得到:
{"patient":{"demographics":[]}}
我真的認爲這是一個愚蠢的錯誤OB我的一部分。所有的幫助表示讚賞。
謝謝你這麼好! +100個互聯網給你。 – 2013-03-01 21:24:07