<?php $array = [ '{"a":1}' , '{"c":2}' , '{"d":3}' , '{"e":4}' ]; foreach ($array as & $json) { $vector_data = std_class_object_to_array (json_decode($json)); foreach ($vector_data as $key => $value) { echo "Propiedad " . $key . " => " . $value . "<br>" ; } } function std_class_object_to_array ($stdclassobject) { $_array = is_object($stdclassobject) ? get_object_vars($stdclassobject) : $stdclassobject; foreach ($_array as $key => $value) { $value = (is_array($value) || is_object($value)) ? std_class_object_to_array ($value) : $value; $array[$key] = $value; } return $array; } ?>