Skip to main content

JSON Schema & Storage

The visual editor and the API communicate via JSON configurations. When you download a configuration file from the editor (or when the editor commits to your special GitHub repository), it outputs a .gitascii.json file structured according to the SavedConfiguration interface.

Complete Real JSON Example

Below is a complete, production-valid configuration representing a Terminal layout:

Consuming JSON via Node.js / Server

You can load this JSON file from disk or an API response and feed it straight to renderSvg: