JSON
Edit and validate JSON, pretty-print it, and inspect it as a tree.
The JSON editor opens .json text files.
Views and actions
Section titled “Views and actions”- Edit provides syntax highlighting and live validation as you type.
- Tree renders objects and arrays as an expandable structure. Double-click an object key to rename it, or a primitive value to edit it. Array indexes and object/array values themselves stay fixed in this first version.
- Format pretty-prints valid JSON. On invalid JSON it briefly flags the problem instead of changing your text.
When editing a Tree value, numbers become JSON numbers, true and false
become booleans, and null becomes null. Quoted input is a string; any other
input is also kept as a string. Press Enter or click away to commit, or Escape
to cancel.
Invalid JSON stays fully editable and produces a clear error rather than replacing or discarding the source, so a stray comma never loses your work.
Undo and redo
Section titled “Undo and redo”Cmd/Ctrl+Z and Cmd/Ctrl+Shift+Z undo and redo across both views. See Getting started for the full model.