mardi 14 juin 2016

Strange characters in http JSON response

I am using the following code to fetch SFDC JSON :

HttpClient httpClient =HttpClientBuilder.create().build();
String uri = "SomeSalesForceAPI-URL";
HttpGet httpGet = new HttpGet(uri);
httpGet.addHeader(oauthHeader);
httpGet.addHeader(prettyPrintHeader);
httpGet.addHeader("Content-Type:application/json", "charset=UTF-8");
HttpResponse response = httpClient2.execute(httpGet);
String articleJSON = EntityUtils.toString(response2.getEntity());

return articleJSON;

In the JSON response I the following strange characters, that I see when that JSON is shown on my local Chrome : Â   ’      • . Please look at the attached Response JSON below. I have bolded the strange characters. Also, when I do the view source of this JSON in my local chrome I see this : Â&nbsp

Thanks.

"Content__c" : "

n n

n

Welcome to GoToAssist!

n n Resources:Â n

• http://support.citrixonline.com/en_US/gotoassistremotesupport/all_files/G2ARS010012" target="_blank">Remote Support Quick Start

n

• http://support.citrixonline.com/en_US/gotoassistservicedesk/all_files/G2ASD010001" target="_blank">Service Desk Quick Start

n

• http://support.citrixonline.com/en_US/assistmonitoring/all_files/GTAMO010012" target="_blank">Monitoring Quick Start

n

• http://support.citrixonline.com?product=AssistMonitoring&articleLinkId=GTAMO500004&l=en_US&Title=Manage your GoToAssist Account" target="_blank">Add a module to your account

n n

GoToAssist is a robust, cloud-based support solution that offers IT professionals an integrated suite of support tools that allow them to deliver amazing support to their own customers.

n

Simple, fast and secure, GoToAssist is perfect for IT consultants, managed services providers, internal or external support teams, contact centers, and more. Seamlessly employ 3 distinct IT tools – http://www.gotoassist.com/remote-support/remote-support/features/how-it-works" target="_blank">Remote Support, http://www.gotoassist.com/remote-support/remote-support/features/how-it-works" target="_blank">Service Desk, and http://support.citrixonline.com/en_US/assistmonitoring/all_files/GTAMO010012" target="_blank">Monitoring – from one integrated platform.

n END-OF-LIFE ANNOUNCEMENT: The GoToAssist Monitoring product will be permanently decommissioned on December 31, 2015. Please see our http://support.citrixonline.com/en_US/gotoassistmonitoring/all_files/G2AMO700001" target="_blank">FAQs for additional details.n Topics in this article:n
n

http://support.citrixonline.com/#Which" target="_blank">Which modules are right for me?n

n

http://support.citrixonline.com/#How" target="_blank">How do the modules interact together?n

n
n

http://name.support.citrixonline.com/Which">Which modules are right for me?

n

The GoToAssist product offers a suite of integrated modules that each provide a tailor-made solution for a different aspect of the customer-support process. Before you start configuring your new account, it can be helpful to think about what needs you are trying to meet.

n
  • Front-line support – Do you need to enable on-demand interaction between your customers and your IT team? https://secure.citrixonline.com/secure/gotoassist/commerce/try_v1/register?" target="_blank">Try the Remote Support module!
  • Incident management – Do you need to manage the recording, tracking, prioritization,
  • Aucun commentaire:

    Enregistrer un commentaire