The ticket says "let customers export their statement." You read it twice looking for the catch, because there doesn't seem to be one. Then the follow-ups arrive. It should look right on screen. It should print to a PDF with the column headers repeat...
You're building the kind of feature where the logic can't all live in your code. A pricing rule marketing wants to tweak without a deploy. A feature flag that should switch on when user.age > 18 and "admin" in user.roles. A filter your users configur...
I needed to pull a few fields out of some JSON. Nothing exotic, a couple of nested values and one filtered list. So I did the ordinary thing, reached for a JSONPath library, wrote a query, and moved on.
A week later I swapped that library for an unr...