toml.to #
Copyright (c) 2021 Lars Pontoppidan. All rights reserved. Use of this source code is governed by an MIT license that can be found in the LICENSE file.
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 json2.Any type.