
Loading YAML in Python With PyYAML safe_load Explained
What yaml.safe_load returns, how to open files correctly, why the C loader is six times faster and the type surprises that come with PyYAML.
Shell one-liners and small scripts that turn your repeated database chores into a single command.

What yaml.safe_load returns, how to open files correctly, why the C loader is six times faster and the type surprises that come with PyYAML.

A feed health check that tests the fetch, status, content type, well-formedness, item count and freshness, run on eight scenarios with its output.

Read and write xlsx in Node.js with exceljs: load a workbook, read typed cells, handle formulas and dates, stream large sheets and avoid common traps.

Call a SOAP service from Python with zeep: load the WSDL, call an operation, get typed results, handle a Fault, see the request envelope,.

Test a generated Excel report with pytest: structure, control totals, formulas, formats and edge cases, plus a fixture of bad input and a golden file.

Compile a stylesheet once with lxml, pass parameters safely, read xsl:message from the error log, block file and network reads, and know the 1.0 limit.

Build and read JSON in Bash without breaking: jq --arg instead of string concatenation, newlines in values, exit codes, null as text and filter injection.

JSON.parse in Ruby 3.4 with json 2.9.1: symbolized keys, big numbers, NaN, comments that parse by default, max_nesting 100, create_additions and errors.

json_decode in PHP 8.5 returns null on bad input unless you throw. Arrays or objects, big integers, depth 512, flags and the list versus object trap.

Read JSON in Rust with serde_json 1.0.154: derived structs, Option and null, deny_unknown_fields, duplicates, integer ranges, the 128 level limit and enums.

What System.Text.Json does by default in .NET 9: exact-case names, JsonSerializerDefaults.Web, enum surprises, the 64 level depth limit and duplicate keys.

Read JSON in Java with Jackson 2.20: records, JsonNode trees, unknown fields, duplicate keys, the nesting and number limits, and the date trap on writing.
We send one email when a new article is published. No spam.