<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="Js.html"> <link rel="next" href="Lwt_js.html"> <link rel="Up" href="index.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of class methods" rel=Appendix href="index_methods.html"> <link title="Index of class types" rel=Appendix href="index_class_types.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="CSS" rel="Chapter" href="CSS.html"> <link title="Dom" rel="Chapter" href="Dom.html"> <link title="Dom_events" rel="Chapter" href="Dom_events.html"> <link title="Dom_html" rel="Chapter" href="Dom_html.html"> <link title="Event_arrows" rel="Chapter" href="Event_arrows.html"> <link title="File" rel="Chapter" href="File.html"> <link title="Firebug" rel="Chapter" href="Firebug.html"> <link title="Form" rel="Chapter" href="Form.html"> <link title="Js" rel="Chapter" href="Js.html"> <link title="Json" rel="Chapter" href="Json.html"> <link title="Lwt_js" rel="Chapter" href="Lwt_js.html"> <link title="Regexp" rel="Chapter" href="Regexp.html"> <link title="Url" rel="Chapter" href="Url.html"> <link title="XmlHttpRequest" rel="Chapter" href="XmlHttpRequest.html"><title>Json</title> </head> <body> <div class="navbar"><a href="Js.html">Previous</a> <a href="index.html">Up</a> <a href="Lwt_js.html">Next</a> </div> <center><h1>Module <a href="type_Json.html">Json</a></h1></center> <br> <pre><span class="keyword">module</span> Json: <code class="code">sig</code> <a href="Json.html">..</a> <code class="code">end</code></pre>Unsafe IO. (See <code class="code">Deriving_Json</code> for typesafe IO)<br> <hr width="100%"> <pre><span id="VALoutput"><span class="keyword">val</span> output</span> : <code class="type">'a -> <a href="Js.js_string-c.html">Js.js_string</a> <a href="Js.html#TYPEt">Js.t</a></code></pre><div class="info"> Marshall any OCaml value into this JSON representation.<br> </div> <pre><span id="VALunsafe_input"><span class="keyword">val</span> unsafe_input</span> : <code class="type"><a href="Js.js_string-c.html">Js.js_string</a> <a href="Js.html#TYPEt">Js.t</a> -> 'a</code></pre><div class="info"> Unmarshall a string in JSON format as an OCaml value (unsafe but fast !).<br> </div> </body></html>