package ezjsonm

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

Interface with Lwt streams.

val from_stream : string Lwt_stream.t -> Ezjsonm.value Lwt_stream.t

Convert a stream of strings into a stream of JSON documents. The stream itself is sent as an open JSON array. This way, we can detect properly closed streams by checking that the top-level array is properly closed. Otherwise, throw an error.

OCaml

Innovation. Community. Security.