Tomlt_bytesrw.Tagged_jsonval encode : Tomlt.Toml.t -> stringencode t converts TOML value t to tagged JSON format.
The tagged JSON format wraps each value with type information:
{"type": "string", "value": "..."}{"type": "integer", "value": "..."}{"type": "float", "value": "..."}{"type": "bool", "value": "true"|"false"}{"type": "datetime", "value": "..."}[...]{...}val decode : string -> Tomlt.Toml.tdecode s parses tagged JSON string s into a TOML value.
val decode_and_encode_toml : string -> (string, string) resultdecode_and_encode_toml json decodes tagged JSON and encodes as TOML. Used by the toml-test encoder harness.