title: How to return a TDataSet from REST sever written in Delphi DataSnap and load it in TFDmemTable on client
body: <p>I tried this for many times and without result. I wrote a Datasnap REST server in Delphi returning a TDataSet, like this.</p>
  
  <pre><code>function Filter(Value: string): TDataSet;
  </code></pre>
  
  <p>on client side I receive a JSON with following structure. </p>
  
  <blockquote>
    <p>{"Value":"","result":{"table":[["ID",6,0,0,0,4,0,0,false,false,0,false,false],["UName",1,1,0,50,51,0,0,false,false,0,false,false],["UPass",1,2,0,50,51,0,0,false,false,0,false,false],["Prezime",1,3,0,50,51,0,0,false,false,0,false,false],
    ...</p>
  </blockquote>
  
  <p>It is obvious that result is in JSON and every Column is in one separate JSONAray.</p>
  
  <p>But, when I pull this to client through TRestClient, TRestRequest and TRestResponse and try to connect it to TFDmemTable over TRESTResponseDataSetAdapter, I can not do that.</p>
  
  <p>I did it with servers made in C# and PHP, but not with Delphi made server.</p>
  
  <p>Did anyone passed this way from beginning to end?</p>