package jsonaf

  1. Overview
  2. Docs
A library for parsing, manipulating, and serializing data structured as JSON

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=55d5a46e69891b6753135491b052b4cbb886a76f576099120911984b098806ce

doc/jsonaf.kernel/Jsonaf_kernel/Parser/index.html

Module Jsonaf_kernel.ParserSource

Sourceval t_without_trailing_whitespace : t Angstrom.t

t_without_trailing_whitespace will parse a single JSON value without consuming any trailing whitespace. This is useful in the context of streaming multiple JSON values because it will immediately return t when it is parsed, but it may fail in other parsing contexts where the input buffer is expected to be fully consumed.

This will read and ignore whitespace both before and after the JSON value.

Sourceval run : string -> (t, string) result
Sourceval run_many : string -> (t list, string) result
OCaml

Innovation. Community. Security.