Quick JSON
Fast JSON snippets with optional dynamic count support for API mocking.
Static by default for speed. Dynamic only when explicitly requested.
✨ Why QuickJSON?
Most JSON generators are slow because they always process data.
QuickJSON is different:
- ⚡ Instant static snippets for common use
- 🧠 Dynamic processing only when you ask
- 🔒 Controlled keys only (no accidental commands)
- 🧪 Perfect for frontend & API mocking
🚀 Features
1️⃣ Static JSON Snippets (Fastest)
Uses VS Code snippets — no extension logic, no delay.
Type → press Tab
userjson
postsjson
productjson
cartjson
quotesjson
photojson
countries
➡ Instantly inserts static JSON (default 10 items)
2️⃣ Dynamic Count (Only When Needed)
Triggers extension logic only if :<count> is used
userjson:10
postsjson:50
productjson:100
➡ Reads predefined data
➡ Slices or repeats to match the count
➡ Runs only on demand
3️⃣ Safe & Controlled Commands
Only predefined keys are allowed:
user
posts
product
cart
quotes
photo
❌ Invalid commands are blocked:
boyjson:10
humanjson:20
➡ Prevents mistakes and unexpected behavior
🧠 How It Works (Simple)
| Input |
Handler |
Performance |
userjson |
Snippet |
⚡ Ultra fast |
postsjson |
Snippet |
⚡ Ultra fast |
userjson:10 |
Extension logic |
🧠 On demand |
userjson:100 |
Extension logic |
🧠 On demand |
Static first. Dynamic only when required.
🧪 Usage
- Open any
.json file
- Type a command:
userjson
- Press Tab
OR
userjson:10
Press Enter
📦 Use Cases
- Frontend UI development
- API response mocking
- Pagination testing
- Demo data for projects
- Learning & tutorials
QuickJSON is designed to be performance-first:
- ❌ No unnecessary file reads
- ❌ No background processing
- ❌ No auto execution
- ✅ Explicit user intent only
🛣️ Roadmap (Planned)
- Custom default count setting
- Autocomplete for allowed keys
- Range support (
postsjson:10-20)
- Workspace-level data overrides
🧑💻 Feedback & Contributions
If you have ideas or issues, feel free to open a discussion or issue on GitHub.
📦 repository
GitHub Repository
📄 License
MIT License