JSONPath Filter Expressions: Operators, Examples and Gotchas
How [?(...)] filters work: comparisons, && and ||, testing for a property, comparing against another path, and the cases where implementations differ.
Topic
15 articles tagged “developer-tools”.
How [?(...)] filters work: comparisons, && and ||, testing for a property, comparing against another path, and the cases where implementations differ.
755 is for directories and programs, 644 for ordinary files. How the three digits are built, why those two are the defaults, and the find command to fix a tree.
Commit .env.example and never .env. What each file is for, what belongs in the template, the .gitignore lines that work, and what to do after a leak.
Measured on a real stylesheet, alone and together. Comments turned out to matter more than whitespace, and Brotli beat gzip by about 15 percent.
The gap is 5 hours most of the year and 4 for a few weeks, because US and UK daylight saving changes fall on different dates. The 2026 and 2027 windows.
A Unix timestamp is one number with no time zone. How to tell seconds from milliseconds, the bugs that mixing them causes, and what the 2038 problem is.
A JSON sample is one snapshot, so a generated interface is a guess. What converters get wrong with null, missing fields, empty arrays and strings.
JSONPath selects values and is built into many tools. jq transforms JSON on the command line. The same queries in both, and how to choose.
JSON objects have no order, so a text diff reports changes that are not changes. How to sort keys first, what still differs, and three ways to do it.
Both can mean a space, in different places. When %20 is right, when + is, why a literal plus becomes a space, and the base64 bug it causes.
How to read a cron expression, why 0 0 13 * 5 is not Friday the 13th, why */7 is uneven, and the time zone and escaping mistakes that break scheduled jobs.
In YAML 1.1, NO becomes false. Tested YAML 1.1 and 1.2 results for yes/no, octal, 22:22, version numbers and merge keys, and how to convert safely.
Most online PDF and image tools send your file to a server. Three browser checks that show whether one does, and the catch that can fool you.
Most online PDF mergers upload your files. How merging works locally in the browser, how to verify nothing leaves your device, and where it falls short.
JSON looks like a JavaScript object literal, so people assume they behave identically. Undefined, dates, key order and duplicate keys all say otherwise.