title: Generic objects in Apache Thrift
body: <p>I want to know if I can define "generic objects" in Apache Thrift with IDL language, something like "Object" class in Java.</p>
  
  <p>I need to send objects's list of any type, but I don't know how can I define this in the file.thrift</p>
  
  <p>Like this:</p>
  
  <pre><code>struct
  {
     1: list&lt;object&gt; listObjects;
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>struct
  {
     1: list&lt;?&gt; listObjects;
  }
  </code></pre>