Configuration with Superpowers

Write logic, not JSON. Presets, validators, HTTP server and LSP support. One source for JSON, YAML, TOML, and TypeScript.

Evolution & Maintenance

Constant Innovation.
Version by Version.

See all releases on GitHub
+
+
+
+
v0.0.6Latest
Dec 25, 2025

Presets, Validators, LSP & Introduction Http Server

The last pre-alpha release. Introduces presets for reusable config, Http Server, validators for auto-generated data, and full LSP support for VS Code.

main branch
View Full Changelog
v0.0.5.2
Dec 02, 2025

Variable Arithmetic Fix

Improved stability in mathematical operations and variable resolution.

v0.0.5.1
Nov 29, 2025

Parser Bug Fixes

Fixed chained ternary expressions, negative ranges, and error reporting.

v0.0.5
Nov 28, 2025

Nested Logic Power-Up

Massive updates to Maps, Ranges, and complex Logic generation.

v0.0.4
Nov 26, 2025

Universal Meta-Format

Multi-output support: JSON, YAML, TOML, and TypeScript exports.

v0.0.3
Nov 25, 2025

Arrays in Objects

Support for nested arrays within object properties and real-world templates.

v0.0.2
Nov 24, 2025

Arithmetic & Logic

Introduction of Variables, Comments, and simplified syntax.

v0.0.1
Nov 23, 2025

Initial Release

The birth of JSSON. Core parser and basic configuration logic.

main branch
View Full Changelog

Features

Stop repeating yourself in JSON. Upgrade to JSSON.

+
+
+
+
01

Built-in HTTP Server

Instantly serve your configuration across your infrastructure with a production-ready emmbeded server.

02

Presets & Reusability

Define reusable configuration blocks once and apply them everywhere with @preset and @use.

03

Auto-Generated Data

Integrated validators for UUIDs, emails, dates, and IPs. Perfect for realistic test data.

04

Universal Output

Write once, export everywhere. Convert JSSON into JSON, YAML, TOML, or TypeScript.

05

Variables

Declare values once and reuse them throughout your config. Zero duplication.

06

Templates

Define models once and instantiate them with spreadsheet-style rows.

07

Advanced Maps

Transform values declaratively. Generate derived fields and dynamic objects.

08

Smart Ranges

Generate massive datasets with 1..10000 and range-driven maps instantly.

09

Natural Booleans

Pick your style: use yes/no or on/off as intuitive alternatives to true/false.

10

Professional LSP

Full IDE support with real-time diagnostics, auto-complete, and go-to-definition.

Showcase

Powerhouse data generation. Zero repetition.

+
+
+
+

Nested Maps

25 numbers / 1 line

Matrix Generation

// Multiplication table 5x5
rows := 5
cols := 5
 
table = (1..rows map (row) = (
1..cols map (col) = row * col
))
1
2
3
4
5
2
4
6
8
10
3
6
9
12
15
4
8
12
16
20
5
10
15
20
25

Product Variants

6 variants auto

E-commerce Power

products = (["S", "M", "L"] map (size) = (
["Red", "Blue"] map (color) = {
sku = size + "-" + color
price = 29.99
}
))
S-Red
$29.99
S-Blue
$29.99
L-Red
$29.99
L-Blue
$29.99

Massive Generation

1,000 records

Large Datasets

totalUsers := 1000
users = (0..(totalUsers - 1) map (id) = {
id = id
username = "user_" + id
tier = id < 100 ? "bronze" : "silver"
})
1k
Records Generated

API Endpoints

Full CRUD

Route Generation

resources := ["users", "posts", "comments"]
methods := ["GET", "POST", "PUT", "DELETE"]
 
routes = (resources map (r) = (
methods map (m) = {
path = "/api/" + r
method = m
}
))
GET/api/users
POST/api/users
PUT/api/users
DEL/api/users

Schedule Slots

24 slots / 3 lines

Time Generation

startHour := 9
endHour := 17
slotMinutes := 30
 
slots = (startHour..endHour map (h) = (
[0, slotMinutes] map (m) = h + ":" + m
))
09:00
09:30
10:00
10:30
11:00
11:30
12:00
12:30

Feature Flags

Env-aware

Conditional Config

env := "production"
 
features = {
darkMode = true
betaFeatures = env != "production"
maxUpload = env == "dev" ? 100 : 10
analytics = env == "production"
}
darkModeON
betaOFF
analyticsON

Presets & @use

DRY Config

Reusable Infrastructure

@preset "api-tier" {
timeout = 30
retries = 3
}
 
prod = @use "api-tier" {
endpoint = "/v1"
replicas = 5
}
AUTH SERVICE@USE(API)
Timeout: 30sRetries: 3
PAYMENT SERVICE@USE(API)
Timeout: 30sRetries: 3

Smart Validators

Auto-Generated

Realistic Mock Data

user {
id = @uuid
email = @email
createdAt = @datetime
status = @bool ? "up" : "down"
}
uuid: 550e8400-e29b...
user_kx7m@example.com
Active Now

Embedded Server

API Ready

Production-Ready Serving

# Start the server
jsson --serve --port 8080 -i prod.jsson
 
# Fetch from any service
curl http://localhost:8080/config
$ jsson --serve
Listening on :8080...
GET /config - 200 OK

Universal Logic

Write Logic.
Get Config.

JSSON brings power to your configuration. No more manual copying.

Native variables & constants
Arithmetic & Conditional Logic
Templates & Maps for complex arrays
Smart Ranges with steps
Modular configuration (include)
+
+
+
+
Input JSSON
// Define reusable configuration
@preset "http-defaults" {
timeout = 30
retries = 3
ssl = yes
}
 
// Instantiate with custom values
api = @use "http-defaults" {
endpoint = "/v1"
timeout = 60
}
 
db = @use "http-defaults" {
endpoint = "/db"
ssl = no
}
Output
{
"api": {
"timeout": 60,
"retries": 3,
"ssl": true,
"endpoint": "/v1"
},
"db": {
"timeout": 30,
"retries": 3,
"ssl": false,
"endpoint": "/db"
}
}

FAQ

Questions. Answered.