Interactive Demo
Test Shim with real malformed JSON. No signup required. Visit shim.so/demo to try the interactive playground.Features
The demo includes:- Monaco Editor: Syntax highlighting for JSON
- 12 Real-World Examples: Common LLM JSON failure patterns
- Schema Editor: Test with your own JSON schema
- Repair Details: View applied repairs, confidence levels, and latency
- Copy Buttons: Easily copy input/output to clipboard
- Rate Limiting: 10 requests per hour (no API key required)
Limitations
The demo is for evaluation only. Production use requires an API key:| Feature | Demo | Production |
|---|---|---|
| Batch repair | ✅ Yes | ✅ Yes |
| Streaming repair | ❌ No | ✅ Yes |
| Rate limit | 10/hour | 100-10K/min |
| Schema validation | ✅ Yes | ✅ Yes |
| Historical logs | ❌ No | ✅ Yes |
| SLA/Support | ❌ No | ✅ Yes |
Example Repairs
The demo showcases common repair scenarios:1. Truncated Object
Input:2. Markdown Fence
Input:3. Trailing Comma
Input:4. Unquoted Keys
Input:5. Single Quotes
Input:6. Unquoted Values
Input:active.
Confidence: Medium
7. JavaScript Comments
Input:8. JavaScript Special Values
Input:null.
Confidence: High
9. Malformed Decimals
Input:0.5 and 5.
Confidence: High
10. Multiple Commas
Input:11. Leading Text
Input:12. Combined Issues
Input:Schema Validation
The demo includes a schema editor to test schema-aware repairs:Example: User Profile Schema
"30" (string) to 30 (number) to match schema.
Confidence: Medium (schema repair)
Rate Limiting
Demo endpoint is IP-based rate limited:- Limit: 10 requests per hour per IP
- Headers:
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset - Reset: 1 hour from first request
Using Your Own JSON
The demo supports custom input:- Click in the input editor
- Paste your malformed JSON
- Optionally add a schema in the schema editor
- Click “Repair JSON”
- See the repaired output and repair details
API Endpoint
The demo uses the public endpoint:Get API Key
Ready for production? Sign up for a free API key:Sign Up
Get your free API key (1,000 repairs/month)
- 1,000 repairs/month
- 100 requests/minute
- Batch + streaming repair
- Schema validation
- Dashboard analytics
Next Steps
Quick Start
Get your first repair working in 5 minutes
API Reference
Complete API documentation
TypeScript SDK
Install the official SDK
Streaming Repair
Real-time repair for LLM streams
