package jsonaf

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

Install

Dune Dependency

Authors

Maintainers

Sources

jsonaf-v0.16.0.tar.gz
sha256=0c85230d47dcc80c428ad82e0f2cb0ecbb5048129eaa036aeeb4cfb8d9d2063f

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

Module Jsonaf_kernel.ParserSource

Sourceval t_without_trailing_whitespace : t Angstrom.t

This reads whitespace as a prefix but stops parsing at the end of the JSON value encountered without reading any trailing whitespace. This is mostly useful if you're wanting to parse streaming values and get the latest result immediately rather than waiting to determine how much whitespace is available after the JSON.

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.