="#val-encode" class="anchor"></a><code><span class="keyword">val</span> encode : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dd><p><code>encode t</code> should marshal <code>t</code></p></dd></dl><dl><dt class="spec value" id="val-decode"><a href="#val-decode" class="anchor"></a><code><span class="keyword">val</span> decode : string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p><code>decode s</code> should reproduce a <code>t</code> from a string