PHP – Remove keys from json object March 11, 2014PHParray, json, keys, removePF This is how $new = array_values((array)$old ); echo json_encode($new);