示例#1
0
        private string GenerateToml(string jsonContent, ValueScheme scheme)
        {
            var dictionary = _parser.ToConverted(jsonContent);
            var contents   = _builder.ToTOML(dictionary, scheme);

            contents = contents.Trim(Environment.NewLine.ToCharArray());
            return(contents);
        }