Safely round-trip JSON with JSON.parse and JSON.stringify.
Language: JavaScript
Node.js stdlib async file read with fs/promises.
Wrap awaitable calls in try/catch for ergonomic error handling.
Modern Fetch with async/await, response status check, and JSON parsing.