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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -