The outputted string in json is:
u062eu0637u0627u06cc u0627u062du0631u0627u0632 u0647u0648u06ccu062a
I tried json_decode
with and without JSON_UNESCAPED_UNICODE
but no luck. Something like:
echo json_decode('u062eu0637u0627u06cc u0627u062du0631u0627u0632 u0647u0648u06ccu062a');
It returns nothing!
Advertisement
Answer
Thanks to Magnus Eriksson’s answer, it must be something like:
print_r (json_decode("...json output..."));