Thursday, October 31, 2019

valid json not parsable in PHP - solution

use below code

json_decode( preg_replace('/[\x00-\x1F\x80-\xFF]/', '', $json_string), true );

No comments:

Post a Comment