Answers for "how to remove slashes after json_encode php"

PHP
0

remove slashes from json php

json_decode($val, true, JSON_UNESCAPED_SLASHES);
Posted by: Guest on January-06-2021
0

php remove slashes from json

echo stripslashes('{\"test\":{\"test1\":{\"test1\":[{\"test2\":\"1\",\"test3\": \"foo\",\"test4\":\"bar\",\"test5\":\"test7\"}]}}}');
Posted by: Guest on October-02-2020

Browse Popular Code Answers by Language