<?php
$json_str = '{
"numero":"1000",
"log": {
"message": "testing connection to the target URL",
"level": "INFO",
"time": "10:24:05"
},
"responsavel": {
"nome":"Responsavel teste"
}
}';
echo "numero: ".$obj->numero;
echo "Mensagem: ".$obj->log->message. " - ";
echo "NĂvel: ".$obj->log->level. "</br>";
echo "NOME: ".$obj->responsavel->nome;
PD9waHAKCiRqc29uX3N0ciA9ICd7CiAgICAibnVtZXJvIjoiMTAwMCIsCiAgICAibG9nIjogewogICAgICAgICJtZXNzYWdlIjogInRlc3RpbmcgY29ubmVjdGlvbiB0byB0aGUgdGFyZ2V0IFVSTCIsCiAgICAgICAgImxldmVsIjogIklORk8iLAogICAgICAgICJ0aW1lIjogIjEwOjI0OjA1IgogICAgfSwKICAgICJyZXNwb25zYXZlbCI6IHsKICAgICAgICAibm9tZSI6IlJlc3BvbnNhdmVsIHRlc3RlIgogICAgfQp9JzsKCiAgICAkb2JqID0ganNvbl9kZWNvZGUoJGpzb25fc3RyKTsKCmVjaG8gIm51bWVybzogIi4kb2JqLT5udW1lcm87CmVjaG8gIk1lbnNhZ2VtOiAiLiRvYmotPmxvZy0+bWVzc2FnZS4gIiAtICI7CmVjaG8gIk7DrXZlbDogIi4kb2JqLT5sb2ctPmxldmVsLiAiPC9icj4iOwplY2hvICJOT01FOiAiLiRvYmotPnJlc3BvbnNhdmVsLT5ub21lOw==