I have a json string {"email" : "Hello", "username" : "Not taken"}
how do I iterate through this json to display the text (Like Hello)
I want to display the following text
Email : Hello
Username : Not taken
I tried the following:
arr = json
$.each(arr, function(k, v) {
message += k + ':' + v + '<br />';
});