sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Jsonxt.YojsonSourceYojson compatibility module
To use Jsonxt's Yojson compatibility module create a yojson.ml file in the projects source directory with the following contents:
include Jsonxt.YojsonNote that compatibility is mostly a thin layer on top of Jsonxt. In particular the error reporting by the utils module uses the Failure exception rather than Yojson's specialist exceptions
The underlying parser used by the Yojson compatibility modules are RFC 8259 compliant except for specific extensions. In particular:
lexer_state data structure is used to report errors but not updated during the parsing of the inputbuf parameter is ignoredFailure exception rather than Yojson's specialist exceptions