Editar, formatear y validar datos JSON con visualización en árbol. También convierte automáticamente la sintaxis de dict de Python.
JSON (JavaScript Object Notation) is a lightweight data interchange format that's easy for humans to read and write, and easy for machines to parse and generate. It's language-independent but uses conventions familiar to programmers of the C-family of languages. JSON has become the de facto standard for data exchange in web applications.
JSON is built on two structures: objects (collections of key/value pairs enclosed in {}) and arrays (ordered lists of values enclosed in []). Values can be strings, numbers, booleans (true/false), null, objects, or arrays. This simple structure can represent complex, nested data.
{"name":"John"}
{
"name": "John"
}
[1,2,3]
[
1,
2,
3
]
JSON is a text format that follows specific rules: keys must be double-quoted strings, and values are limited to specific types. JavaScript objects are more flexible and can contain functions, undefined values, and use single quotes.
No, standard JSON does not support comments. Some parsers accept comments, but it's not part of the official specification. For configuration files needing comments, consider JSON5 or YAML.