>

<p>For such enums template will generate decoding/encoding code that will expect values in JSON to be exactly the same as cases&rsquo; names.</p>
<pre class="highlight swift"><code><span class="kd">enum</span> <span class="kt">SimpleEnum</span> <span class="p">{</span>
  <span class="k">case</span> <span class="n">someCase</span>
  <span class="k">case</span> <span class="n">anotherCase</span>
<span class="p">}</span>
</code></pre>

<p>For such enum template will generate code that will successfully deco