65% Token Reduction
Schema is declared once. Data rows carry only values, not repeated keys. Ideal for LLM context windows and lower API cost.
See comparison
Fewer tokens than JSON. Compact schema-first rows. Human-readable. LLM-native.
{
"users": [
{ "id": 1, "name": "Alice", "active": true },
{ "id": 2, "name": "Bob", "active": false },
{ "id": 3, "name": "Carol", "active": true }
]
}[{id@int, name@str, active@bool}]:
(1, Alice, true),
(2, Bob, false),
(3, Carol, true)Schema is written once. Each row after : is pure data. That is where most of ASUN's token and parsing advantage comes from.
[dependencies]
asun = "1.0"
serde = { version = "1", features = ["derive"] }go get github.com/asunLab/asun-gopip install asunnpm i @athanx/asunimplementation 'io.asun:asun:1.0.0'// Package.swift
.package(url: "https://github.com/asunLab/asun-swift", from: "1.0.0")dotnet add package Asun# pubspec.yaml
dependencies:
asun: ^1.0.0pecl install asun// Header-only: include asun.h + link asun.c
#include "asun.h"# Header-only or via Conan
find_package(asun-cpp REQUIRED)// build.zig.zon — add asun dependency
zig fetch https://github.com/asunLab/asun-zig/archive/v1.0.0.tar.gz --saveASUN has a structural advantage over JSON on repeated, schema-shaped data, but the multiplier is not universal across languages.
Use the performance overview for the model, and benchmark notes for implementation-specific context.