Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove backslash from json

var data = {"id":"23232","pass":"1434"};
    console.log(data);
    var b=JSON.stringify(data);
    str = b.replace(//g, '');
    console.log(str);
Source by forum.ionicframework.com #
 
PREVIOUS NEXT
Tagged: #remove #backslash #json
ADD COMMENT
Topic
Name
3+1 =