Guides
Getting Started
Install JSSON and write your first configuration file in 5 minutes.
Installation
Download the binary
- Get the latest release from GitHub for your platform.
Make it executable (Linux/macOS)
chmod +x jsson
sudo mv jsson /usr/local/bin/Verify installation
jsson --versionBuilding from source? Clone the repo and run
go build -o jsson cmd/jsson/main.go
Your First File
Create config.jsson:
app {
name = "My App"
version = "1.0.0"
debug = true
}
server {
host = "localhost"
port = 8080
}Transpile to JSON:
jsson -i config.jsson > config.jsonResult:
{
"app": {
"name": "My App",
"version": "1.0.0",
"debug": true
},
"server": {
"host": "localhost",
"port": 8080
}
}Quick Syntax
| Feature | JSSON | JSON |
|---|---|---|
| Assignment | name = value | "name": value |
| Strings | João or "João" | "João" |
| Objects | obj { ... } | "obj": { ... } |
| Arrays | [a, b, c] | ["a", "b", "c"] |
| Comments | // comment | Not supported |
| Variables | x := 10 | Not supported |
When to use quotes: Values with spaces or special characters need quotes.
name = João // OK
title = "Software Engineer" // Quotes for spacesOutput Formats
JSSON transpiles to multiple formats:
jsson -i config.jsson -f json # Default
jsson -i config.jsson -f yaml
jsson -i config.jsson -f toml
jsson -i config.jsson -f ts # TypeScriptNext Steps
- Syntax Reference — Complete language reference
- Templates — Generate structured data from rows
- Presets — Reusable configuration templates
- Validators — Auto-generate test data
- CLI Guide — All command-line options