Interactive JSON Projection Playground
Filter and reshape deep nested JSON structures and arrays using a declarative projection spec.
Source JSON
Projection Spec JSON
true = keep field
Projected Result
NPX (Local Install)
npx select-json-by-json
Copies the latest version dynamically from src/ into your project.
NPM Package
npm i select-json-by-json
Use import { selectJson } from "select-json-by-json" in any Node.js project.
CDN (Vite Bundle)
./dist/min.js
Under 1KB gzipped standalone ES module with zero runtime dependencies.