tMode from the spec</span>
<span class="sd">    &#39;&#39;&#39;</span>
    <span class="n">CLAMPED_MAX</span> <span class="o">=</span> <span class="s2">&quot;clamped-max&quot;</span>
    <span class="n">EXPLICIT</span> <span class="o">=</span> <span class="s2">&quot;explicit&quot;</span>
    <span class="n">MAX_</span> <span class="o">=</span> <span class="s2">&quot;max&quot;</span>

    <span class="k">def</span> <span class="nf">to_json</span><span class="p">(</span><span class="bp">self</span><span class