0
I’m having trouble reading a JSON I receive:
{"data":{"charges":{"data":{"charges":[{"code":10006756,"dueDate":"13/09/2014","link":"https://www.teste.com.br"}]},"success":true}
I need to assign these values to my variables, this array will always have 1 record, it’s a rule.
How to get all of his variables (code
, dueData
, link
and success
) and assign these values to simple variables? That is in my code I will have:
$code = valordoJSON;
$dueData = valordoJSON;
$link = valordoJSON;
$sucesso = valordoJSON;
related
– rray