Description
Jsonxt provides a number of JSON parsers and writers for RFC 8259 compliant JSON as well as non-standard extensions introduced by Yojson. Features include
- RFC 8259 compliant when in strict and basic mode
- Performance focused especially for files and strings
- Support for standard and extended JSON tree types:
- Strict follows a strict interpretation of RFC 8259 with all numbers represented as floats.
- Basic extends the strict type to include convenience types while maintaining RFC compliance. This is compatible with yojson's Basic type
- Extended adds additional non-standard types including tuples and variants and is not RFC compliant. This is compatible with yojson's Safe type
- A number of different parsers including
- A standard JSON tree parser for various sources including string, file and channel
- A Stream parser that returns a stream of raw JSON tokens.
- A monad based parser compatible with async
- Writers including
- File and string writers
- A monad based writer that is compatible with async
- A stream writer that converts a stream of JSON tokens
- Support for streaming JSON via Stream.t
- Standard interfaces including Yojson compatibility
Published: 04 Jun 2021
Dependencies (7)
-
ppx_sexp_conv
with-test
-
fmt
with-test
-
core_kernel
with-test
-
cmdliner
with-test
-
alcotest
with-test
-
dune
>= "2.0"
-
ocaml
>= "4.03.0" & < "5.0"
Reverse Dependencies
-
None
Conflicts
-
None
Jsonxt - JSON parsers for files, strings and more
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
Authors
Maintainers
Sources
jsonxt-v1.0.1.tbz
sha256=71eb44d6e6deefa4b3ba7595d22f8e684ffb686c6a306679489c4e09779ee96b
sha512=4ca7c252d8cd3d3eb39f8094d16c7e1b14968ab61b314c1937248209785bedf434c2b422eb5961d896a41cd70565f9675f11f26b2ccc4e1e34c30260eed5d97b