remove slashes in php code example Example: remove slashes from json php json_decode($val, true, JSON_UNESCAPED_SLASHES);