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…
Posts for: #Json
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/XML/YAML Format Converter: From Parsers to Data Structure Mapping
Recently I worked on a config file conversion requirement that needed bidirectional conversion between JSON, XML, and YAML formats. I thought it wo…
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…
JavaScript Formatter Implementation: From String Parsing to AST Beautification
Author: JsonKit Team
Building a GIF Maker from Scratch: LZW Compression and Median Cut Color Quantization
Written: 2026-04-30 12:39
Beyond File Extensions: Detecting File Types with Magic Bytes
A colleague once sent me a file with no extension. “What’s this?” he asked. I dropped it into a hex viewer, saw 89 50 4E 47 0D 0A 1A 0A at byte 0…
File Hash Calculator: Implementing MD5/SHA-1/SHA-256/SHA-512 with Web Crypto API
You downloaded an installer, and the official site gave you an MD5 checksum to “verify file integrity.” How? Terminal commands? Install software? T…
Document Template Generator: Implementation from String Templates to Smart Population
Writing project documentation is a daily routine for developers—README, CHANGELOG, Issue templates… Each time you copy, paste, and modify a few f…
Building a DNS Lookup Tool in the Browser: Google DNS API in Practice
While developing JsonKit, I needed to implement a DNS lookup tool. The traditional approach is to call dig or nslookup fr…