Answers for "remove backslash in json string php"

PHP
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
0

remove slashes from json php

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

Code answers related to "remove backslash in json string php"

Browse Popular Code Answers by Language