Awesome
atdjs is a tool for generating serializers and unserializers from atd type definition. Like atdgen, atdjs generates OCaml source code. However, unlike atdgen, the generated code is intended for compilation by the js_of_ocaml compiler, an OCaml compiler with a Javascript backend.
atdjs simplifies the construction of browser-based client apps (written in OCaml and compiled with js_of_ocaml which send/receive typed messages via Javascript's XHR.
Plain OCaml and atd are required for building atdjs. js_of_ocaml and jsonoj are required for building the code which atdjs generates.