title: How can I display JSON data in a Salesforce Visualforce Page?
body: <p>EDIT :
  Here's what I was thinking for the callout :</p>
  <pre><code>public class APISocieteCallout {
  
  String searchContent= //Content of the search
  String apiKey= 'XXXXXXXXXXXXXXXXXXXXXX';
  String requestEndpoint += 'https://api.societe.com/pro/dev/societe/';
  requestEndpoint += 'search?nom=';
  requestEndpoint += '&amp;token='+apiKey;
  requestEndpoint += '&amp;format=json';
  
  public static HttpResponse getSocieteInfo(){
  Http http = new Http();
  HttpRequest request = new HttpRequest();
  requestEndpoint= 'https://api.societe.com/pro/dev/societe/';
  request.setMethod('GET');
  
  
  HttpResponse response = http.send(request);
  System.debug(response.getStatusCode());
  
  if(response.getStatusCode() == 200){
     Map&lt;String,Object&gt; result = (Map&lt;String,Object&gt;) JSON.deserializeUntyped(response.getBody());
     System.debug(result);
                 
  }
  
  return response;
  </code></pre>
  <p>}
  }</p>
  <p>Sorry, I am new to this and can't get the different documentations to help...</p>
  <p>Thanks a lot,
  H.</p>