title: Can I return raw json response in angular2
body: <p>Is it possible for angular2 to return raw json response? Ex.</p>
  
  <p>Component</p>
  
  <pre><code>getrawJson(){
      this.someservice.searchJson()
      .subscribe( somelist =&gt; this.somelist = somelist,
                   error =&gt; this.errorMsg = &lt;any&gt;error);
  }
  </code></pre>
  
  <p>For service</p>
  
  <pre><code>    searchJson(num: number, somestring: string, somestring2: string): Observable&lt;stringDataObj&gt; {
  
          let body = JSON.stringify({"someJsonData"[{num, somestring, somestring2}]}); 
          let headers = new Headers({ 'Content-Type': 'application/json' });
          let options = new RequestOptions({ headers: headers });
  
  
          return this.http.post(URL, body, options)
                          .map(this.jsonObj)
                          .catch(this.handleError);
  
        }
  
  
  private jsonObj(res: Response) {
      let body;
      return body{ };
  }
  </code></pre>
  
  <p>The above implementation returns Array . Will there be a way for me to get the raw json data returned by the service? I'm expecting to have json response like below</p>
  
  <p>{
     "dataParam": [   {
        "num": "08",
        "somestring": "2016-10-03",
        "somestring2": "2016-10-03"
     }],
     "someDatalist": [   {
        "one": "08",
        "two": 1,
        "three": "2016-10-03"
     }]
  }</p>
  
  <p>Thanks!</p>