de from/encode to JSON of following form:</p>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
  </span><span class="nt">"value"</span><span class="p">:</span><span class="w"> </span><span class="s2">"someCase"</span><span class="w">
  </span><span class="s2">"anotherValue"</span><span class="err">:</span><span class="w"> </span><span class="s2">"anotherCase"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>

<p>You can define coding keys t