groovy - Sonar Issues/search API JSON result has single quotes -


i'm using sonarqube 6.4 web api list of issues

http://sonar-server:9000/api/issues/search?componentkeys=project_key&sinceleakperiod=true&statuses=open,reopened&types=bug

this gives me json object has single quotes,

..."message":"make function anonymous removing name: 'function() {...}'."...

because of highlighted content in json i'm unable process json groovy.

is json returned sonar valid ? if so, there way process kind of json in groovy. let me know if full json object needed.

according http://json.org/ , https://jsonformatter.curiousconcept.com/ json response valid. single quotes , brackets {} must not escaped. issue comes groovy parser.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -