package ezjsonm-lwt

  1. Overview
  2. Docs
Simple Lwt-based interface to the Jsonm JSON library

Install

Dune Dependency

Authors

Maintainers

Sources

ezjsonm-1.3.0.tbz
sha256=08633e0f0e767a8ae81935ca7e74f1693b85a79c4502d568eedff5170f0cd77b
sha512=b731036384115603af9187464695418d27b7cf6f763c8dbc0812db62a7657cac1b6019d3b205b1c95ae81b7dab0bd4037390d977ee8c122bef29a9ddef771e18

doc/ezjsonm-lwt/Ezjsonm_lwt/index.html

Module Ezjsonm_lwtSource

Interface with Lwt streams.

Sourceval 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.