Last week, I was building an API documentation system and needed to generate JSON Schema for each endpoint. Writing Schema manually is tedious, esp…
Posts for: #Api
JSON Path Finder: From Tree Traversal to Path Generation
Debugging a deeply nested API response recently, I needed to quickly locate the JSONPath of specific fields. Counting levels manually was painful, …
JSON Mock Data Generator: Field Type System and Random Data Algorithms
A deep dive into implementing a flexible JSON mock data generator, covering field type systems, random data generation algorithms, and batch gene…
JSON Deep Merge: From Object.assign to Recursive Merge Algorithms
When merging config files, I discovered that Object.assign and the spread operator ... only perform shallow copies. Nested properties get repla…
From JSON.parse to Tree View: Building an Online JSON Formatter
Dealing with minified JSON from APIs is a pain. I’ve tried several online tools, but they’re either bloated with ads or lack basic features. So I b…
JSON Flattening Algorithm: From Nested Objects to Dot-Notation Keys
Dealing with deeply nested JSON data is a common pain point in backend development. APIs often return data nested four or five levels deep, requiri…
JSON Diff Deep Comparison: From Recursive Traversal to Path Tracking
Recently migrated an API and needed to compare JSON response structures between old and new versions. Manual line-by-line comparison was painful, s…
JSON Compression: From stringify to Network Transmission Optimization
Recently, while optimizing API performance, I noticed the JSON responses were surprisingly large. Just a few records, yet the response was dozens o…
Building an IP Address Query Tool: From API Calls to Geolocation Implementation
When developing web applications, you often need to get users’ IP addresses and geolocation information—for analytics, content delivery, fraud dete…
Image Resize Tool Implementation: From Canvas API to High-Quality Scaling Algorithms
Written: 2026-05-09 17:22