<?php // JSON String to JSON Array $json_array = json_decode($json, true); // Remove an field item from JSON Array unset($json_array['Address']); // Add a field item to existing JSON Array $date_item = array("Date", date("Y-m-d H:i:s"); $new_json_array = array_merge($json_array, $date_item);Related Keywords: Developer, How-to, Solved, PHP JSON Array, Add Item, Remove Item
喜歡這篇文章嗎?
(暫時未有評分)
Loading...
(暫時未有評分)
Loading...