Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove backslash in json array javascript

    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 #array #javascript
ADD COMMENT
Topic
Name
4+8 =