Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Helper functions to manipulate all kinds of events in a generic way.
val json_schema : definition -> < schema : Json_schema.schema ; with_name >
Get the JSON schema (together with name
and doc
) of a given event definition.
val explode_event :
event ->
< pp : Stdlib.Format.formatter -> unit -> unit
; json : Data_encoding.json
; with_name >
Get the JSON representation and a pretty-printer for a given event instance.