<?php
$string = '{
"pedidos": [{
"feito_data": "2017-08-07",
"valor": 40.0
}]
}';
PD9waHAKCiRzdHJpbmcgPSAnewoicGVkaWRvcyI6IFt7CiAgICAiZmVpdG9fZGF0YSI6ICIyMDE3LTA4LTA3IiwKICAgICJ2YWxvciI6IDQwLjAKfV0KfSc7CgokanNvbk9iamVjdCA9IGpzb25fZGVjb2RlKCRzdHJpbmcpOwoKdmFyX2R1bXAocmVzZXQoJGpzb25PYmplY3QtPnBlZGlkb3MpLT5mZWl0b19kYXRhKTs=