a11y.skipToMainContent
1

JSON 到 TOML 转换器

在 JSON 和 TOML 格式之间进行一次性的转换 。 支持嵌入对象、阵列和内置表格.

More options
Was this tool helpful?
Send output to:
Advertisement

How to use JSON to TOML Converter

  1. 粘贴到上面的输入框中.
  2. 选择转换方向(JSON为TOML或TOML为JSON).
  3. 切换用于格式化输出的 Pretty Print .
  4. 单击转换以查看结果.

{姓名}是什么来着?

TOML (Tom's Obvious, minimal Language)是一种配置文件格式,旨在方便读写. 许多开发工具和软件包管理器(Cargo, pip, Go)在其配置文件中使用了TOML.

这种双向转换器处理嵌入对象,阵列,阵列表,内行表,布尔,数字和多行字符串. 切换方向将 TOML 转换回 JSON.

Advertisement

FAQ

什么是通灵?
TOML(英语:Tom's Obvious, minimal Language)是一种配置文件格式,因其语义清晰而旨在方便阅读. 它被许多工具所使用,包括Rust's Cargo,Python's pyproject.toml,和Go模块.
它支持嵌入对象吗?
对 Nested JSON 对象成为 TOML [section]和 [section.subsection] 标题.
我能把TOML改回JSON吗?
对 使用方向下放从TOML模式切换到JSON模式.
我的数据上传到哪里了?
没有 所有转换都发生在您的浏览器中 。 没有任何信息发送到任何服务器 .

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

Advertisement