Up

module Ezjsonm_lwt

: sig

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.

end