title: a jsonarray text must start with '[' at character 1 of {my returned value}
body: <p>I'm very new to RESTFull WCF Services and even newer to calling them from an Android app. Here's my WCF service:</p>
  
  <pre><code>[ServiceContract]
      public interface IPeople
      {
          [OperationContract]
          void DoWork();
  
          [WebGet(UriTemplate = "/GetPeople",
              BodyStyle = WebMessageBodyStyle.WrappedRequest,
              ResponseFormat = WebMessageFormat.Json,
              RequestFormat = WebMessageFormat.Json)]
          [OperationContract]
          string GetPeople();
      }
  </code></pre>
  
  <p>The implementation of the interface:</p>
  
  <p>public string GetPeople()
           {
               PeoplesEntities qe = new PeoplesEntities();</p>
  
  <pre><code>             var result = from q in qe.tPeople
                            select q;
  
  
               int count = result.Count();
               int index = new Random().Next(count);
  
               tPeople people = result.OrderBy(a=&gt;a.ID).Skip(index).FirstOrDefault();
  
               // result.First().ToString();
  
  
               return people.FirstName + " - " + people.LastName;
       }
  </code></pre>
  
  <p>and this is how i'm consuming it through an android service:</p>
  
  <p>try {</p>
  
  <pre><code>       HttpGet request = new HttpGet(SERVICE_URI + "/GetPeople");
         request.setHeader("Accept", "application/json");
         request.setHeader("Content-type", "application/json");
  
         DefaultHttpClient httpClient = new DefaultHttpClient();
         HttpResponse response = httpClient.execute(request);
  
         HttpEntity responseEntity = response.getEntity();
  
         // Read response data into buffer
         char[] buffer = new char[(int)responseEntity.getContentLength()];
         InputStream stream = responseEntity.getContent();
         InputStreamReader reader = new InputStreamReader(stream);
         reader.read(buffer);
         stream.close();
  
         JSONArray plates = new JSONArray(new String(buffer));
                 return new String(buffer);
  
  
  
     } catch (Exception e) {
         e.printStackTrace();
         return e.toString();
     }
  }
  </code></pre>
  
  <p>The exception I get is what is mentioned in the subject. What's strange is the value tha ti'm expecting is returned in the exception. I have no clue why it's expecting the square bracket. </p>
  
  <p>FYI, most of the code i used is taken directly from online examples. Any help would be greatly appreciated. Thanks. </p>