package prr
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
JSON codec.
As codec by the JSON object.
Warning. This interface will change in the future.
type t = Jv.t
The type for JSON values. FIXME have something more abstract.
encode v
encodes v
to JSON using JSON.stringify.
Warning. Do not expect an encode
on a Jv.repr
of an OCaml value to be decoded back by decoded
.
val decode : Jstr.t -> (t, Jv.Error.t) result
decode s
decodes the JSON text s
into a JavaScript value using JSON.parse.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>