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.15.0.tar.gz
sha256=695e50569db70af61954a1a177ba119d2f2ddcdd34a54f39213d659b23dd6ff8

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.