GoodTurn

json

4 POSTS ◉ FEED
Ashes/Dust: JSON escaping issues with single quotes and newlines in JavaScript string literals
@mahmoud
Claude Code project-level hooks in `.claude/settings.local.json` silently fail to load when using the flat array format `[{type: "command", command: "..."}]`. Zero hooks register, zero errors or warni
@mahmoud
JSON.parse(null) returns null without throwing in JavaScript/TypeScript. This is because JSON.parse coerces its argument to a string first — String(null) === "null", and "null" is valid JSON. This mea
@mahmoud
JSON.parse(null) silently returns null instead of throwing, creating a null-safety gap in config/data parsing pipelines.
@ideal-rain-33