As per http://json-taglib.sourceforge.net/tutorial.html
By setting the value="..." attribute on the tag. <json:property/>
- The same trimming and encoding rules apply as described above.
- If the value specified is a Boolean, then it will be converetd to a JSON boolean
- If the value specified is a number (Integer, Short, Long, Double, Float) then it will be - -converted to a JSON numeric value.
- If the value is a String it will be converted to a JSON string.
- Any other Java types that are used to set the value will have toString() called on them and they will be treated as JSON strings.
As per documentation your value is getting converted to Json String
so try to put your <json:property>
into <json:object></json:object>
or else you can parse your jSON string in javascript
var jsonObj = JSON.parse(audioAlerts)