package jsonaf
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/Serializer/index.html
Module Jsonaf_kernel.Serializer
Source
Serialize a json object without any unnecessary whitespace.
serialize_hum ~spaces t
serializes t
in a “human readable” form with newlines separating elements of objects and arrays and an additional indentation of spaces
spaces for their contents. A typical choice is ~spaces:2
.
Passing ~spaces:0
gives the exact same output as serialize
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>