Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular js parse json

$scope.parseItem = function(string)
        {
            var newString = string.replace(/['']/g,'');
            var jsonFormated = JSON.parse(newString);
            return jsonFormated.Message;
        }
//pass the single element
 
PREVIOUS NEXT
Tagged: #angular #js #parse #json
ADD COMMENT
Topic
Name
8+8 =