This worked for me
json_decode( preg_replace('/[\x00-\x1F\x80-\xFF]/', '', $json_string), true );
More Related Contents:
- json_encode is returning NULL?
- PHP json_decode() returns NULL with seemingly valid JSON?
- Getting particular object
- How can I parse a JSON file with PHP? [duplicate]
- Reading JSON POST using PHP
- How to POST JSON Data With PHP cURL?
- json_decode returns NULL after webservice call
- Cannot use object of type stdClass as array?
- Why I am getting Cannot pass parameter 2 by reference error when I am using bindParam with a constant value?
- PHP json_encode encoding numbers as strings
- REST API – why use PUT DELETE POST GET?
- Get JSON object from URL
- How to convert mysqli result to JSON? [duplicate]
- Send JSON data from Javascript to PHP?
- ByetHost server passing html values “Checking your browser” with JSON String
- Is there any way to convert json to xml in PHP?
- Get a PHP object property that is a number [duplicate]
- using nulls in a mysqli prepared statement
- Adding subscribers to a list using Mailchimp’s API v3
- In PHP, what is the differences between NULL and setting a string to equal 2 single quotes
- jQuery $.ajax request of dataType json will not retrieve data from PHP script
- How to pass an array using PHP & Ajax to Javascript?
- Accessing JSON array after json_decode/multidimensional array
- Find JSON strings in a string
- How do I loop through JSON array
- How to iterate through a nested stdClass? [duplicate]
- PHP: Most frequent value in array
- Json: PHP to JavaScript safe or not?
- Why are escape characters being added to the value of the hidden input
- Read JSON Data Using PHP [duplicate]