https://developer.salesforce.com/forums/?id=906F0000000fxruIAA
- 如果接口返回值为JSON.serialize(object),则返回json会带’/’.例如
"[{
\"City\":\"New York\"}]
- 解决方案:使用RestContext,response返回值
RestContext.response.addHeader('Content-Type', 'application/json');
RestContext.response.responseBody = Blob.valueOf(locationJSON);