Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のjson値は次のようになります:
[{"Id":"1169"},{"Id":"1164"},{"Id":"1163"},{"Id":"1162"},{"Id":"1161"}]
今、数値1169,1164,1163,1162,1161のみを別の配列に保存したいのですが、どうすればいいですか?
単純
$values = array_values(json_decode($json,true));