by Crazy Coder.
I am trying to develop a webservice in moodle using the template given at https://github.com/moodlehq/moodle-local_wstemplate. I have successfully created the webservice and returned the result in json format. But the result it is shown on the browser shows escaped json response.
"[{\"1\":\"International School of Photonics\"}How can I remove those slashes from the response. I have modified the public static function hello_world() funtion to return json_encode() value.