js_of_ocaml

Compiler from OCaml bytecode to JavaScript
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library js_of_ocaml
Module Js_of_ocaml . Json
val output : 'a -> Js.js_string Js.t

Marshal any OCaml value into this JSON representation.

val unsafe_input : Js.js_string Js.t -> 'a

Unmarshal a string in JSON format as an OCaml value (unsafe but fast !).