Module Crs_stdlib.JsonSource

A module wrapping JSON handling for use in the project.

This provides a centralized type and functions for JSON serialization, abstracting over the underlying library (currently Yojson).

Sourceexception Error of t * string

Exception raised when JSON parsing or validation fails.

Sourceval to_string : t -> string

Pretty-print a JSON value to a string.