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