a11y.skipToMainContent
1

JSON to TOML Converter

Convertir entre formatos JSON y TOML con un solo clic. Soporta objetos anidados, arrays y tablas inline.

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

How to use JSON to TOML Converter

  1. Pruebe su JSON o TOML en la caja de entrada anterior.
  2. Seleccione la dirección de conversión (JSON a TOML o TOML a JSON).
  3. Toggle Pretty Print para la salida formateada.
  4. Haga clic en Convertir para ver el resultado.

¿Cómo se llama?

El formato de archivo de configuración diseñado para ser fácil de leer y escribir. Muchas herramientas de desarrollador y gestores de paquetes (Cargo, pip, Go) utilizan TOML para sus archivos de configuración. Este convertidor de dos vías maneja objetos anidados, arrays, array-of-tables, tablas en línea, booleanos, números y cadenas multilíneas. Cambiar dirección para convertir TOML de vuelta a JSON
Advertisement

FAQ

¿Qué es TOML?
TOML (Tom's Obvious, Minimal Language) es un formato de archivo de configuración que pretende ser fácil de leer debido a su semántica clara. Es utilizado por muchas herramientas incluyendo Cargo de Rust, Python's pyproject.toml y módulos Go.
¿Apoya objetos anidados?
Sí. Los objetos JSON anidados se convierten en encabezados TOML [sección] y [sección.subsección].
¿Puedo convertir TOML a JSON?
Sí. Utilice la dirección desplegable para cambiar de modo TOML a JSON.
¿Mis datos están cargados en cualquier lugar?
No. Toda conversión ocurre en su navegador. No se envía nada a ningún servidor.

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