</span> <span class="o">=</span> <span class="p">[]):</span>
    <span class="sd">&quot;&quot;&quot;convert self to a json friendly object.</span>

<span class="sd">    Usage: json.dumps(X.json())</span>
<span class="sd">    &quot;&quot;&quot;</span>

    <span class="n">members</span> <span class="o">=</span> <span class="p">[</span><span class="n">member</span><span class="o">.</span><span class="n">json</span><span class="p">(</span><span class="n">types_allow</span><span class="o">=</span><span class="n