package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Unsafe IO. (See Deriving_Json for typesafe IO)

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 !).

OCaml

Innovation. Community. Security.