title: How to describe tree model in Realm?
body: <p>So I'm curious is it possible to put a model like this:</p>
  
  <pre><code>class Parent{
      Parent kid;
  }
  class Parent{
      Kid kid
  }
  class Kid{
      //valuable stuff
  }
  </code></pre>
  
  <p><code>Parent -&gt; Parent -&gt; ... -&gt; Parent -&gt; Kid</code>. The problem that it can be as much levels as possible of <code>Parent</code> classes and only in the end after 3 or 7 passes <code>Kid</code> class. Now I'm just going recursively over <code>JSONObject</code> and storing one big <code>JSONObject</code> but I would love to put model into Realm and not going over it every time. Any suggestion on how to treat such a structure is really welcome.</p>