java script to transform json data
<p>my survey output is like
{"a":"1","b":"2","c":"1","d":"0","e":"please improve","Id":"789"} when it reaches the jsp, and i would like to change 0 to good, 1 to bad and 2 to ok, which are the outputs of a,b,c,d .how can we do it using foreach function.</p>