Re: [PHP] json_decode mistery
[email protected] (tamouse mailing lists)
| Newsgroups | php.general |
|---|---|
| Message-ID | <CAHUC_t8cd1L+wGn+H9jSqrzivuA-3u6pG4_60sbFPhPGgA0sAw@mail.gmail.com> |
On Sat, May 25, 2013 at 3:21 AM, tamouse mailing lists <[email protected]> wrote: > On Sat, May 25, 2013 at 3:14 AM, tamouse mailing lists > <[email protected]> wrote: >> On Fri, May 24, 2013 at 2:06 AM, Radek Krejča <[email protected]> wrote: >>> {"result_ok":true,"result_message":null,"client_name":"Radek Krej\u010da"} >> >> How odd -- when i run that through json_decode, it works fine: > > Which I now see was what the second part was about. > > Perhaps there is actually something in $decrypted_data that is not > legal JSON data that doesn't appear when you echo it? try checking json_last_error() after you attempt to decode $decrypted_data.