Skip to content

toml.to #

fn json #

fn json(doa DocOrAny) string

json returns doa as a JSON encoded string.

fn json_any #

fn json_any(a toml.Any) json2.Any

json_any returns Any as a x.json2.Any type.