i want to create dynamic json array.
i am using this array :
$d = array(
'key1' => 9,
'key2' => 10,
'key3' => 20,
'key4' => 60,
'key5' => 50,
);
and i can decode this json and using it in my project.
But now i have to take some of them in this array. For example i have to use key3 and key5 and rebuild my json array.