jsonloupe / spec ← back

What it actually does

Eight guarantees, in the order they matter when a payload lands on you. Internals are documented in SPEC.md.

01

Lossless by construction

Int64 order and entity IDs, and precise decimals, round-trip exactly — no float coercion anywhere in the pipeline.

02

Virtualized, chunked tree

Range rows keep a five-million-element array navigable; expansion state is restored after filtering.

03

Payload decoding

Zstd, Base64 (standard or URL-safe), and PostgreSQL bytea are sniffed and decoded locally, with a visible transformation trace.

04

Semantic compare

Identity-based array alignment by id, composite key, or auto-detection, with an editable alignment plan and per-row match labels.

05

Edit, undo, apply

Inline-edit primitives in the tree, or edit in a CodeMirror code view and apply with Ctrl/Cmd+S. Full undo/redo across edits.

06

Transport size inspector

Exact UTF-8 → Zstd → Base64 → envelope byte counts against editable budgets, so you know before the broker rejects it.

07

Nested JSON to linked tables

Every repeating array becomes its own sheet, joined to its parent by an id already in the data — never items/0/sku columns. The mapping you approve is a small file that produces the same columns next month, through the browser, the CLI or the MCP server.

08

Functions you keep

Name a script and press it over tomorrow's file, or run several as one report. Each learns which paths it reads, so a document missing them is named before the run rather than after an empty result — and the library exports as a playbook file carrying the questions, never the data.