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/Expert/Serializer/index.html

Module Expert.SerializerSource

type 'number serializer := Faraday.t -> 'number -> unit
Sourceval create : 'number serializer -> 'number t -> Faraday.t -> unit

Faraday serializer for a json object given a serializer for the number type. This minimizes whitespace in the serialized representation.

Sourceval create_hum : spaces:int -> 'number serializer -> 'number t -> Faraday.t -> unit

create_hum ~spaces is like serialize but it adds newlines and spaces in the same way that JSON.stringify(_,_,spaces) does in JavaScript. If spaces is 0 then the result is the same as that of serialize.

OCaml

Innovation. Community. Security.