Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for ggorlenâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #289578 |
History hidden: Detailed history before this event is hidden because of a redaction. |
— | about 1 year ago |
Edit | Post #289578 |
Post edited: Roll back poor edit that uses incorrect markdown bulleting and messes with my original style intent |
— | about 1 year ago |
Comment | Post #289579 |
Thanks! Your explanation makes sense. I'd accept this as the answer, but I'm still hoping to see a version that works with a fairly minimal adjustment using the builtin `walk`, without defining my own function. Is there such a straightforward solution, or would it be enough of a hassle that this appr... (more) |
— | about 1 year ago |
Edit | Post #289578 |
Post edited: clarify |
— | about 1 year ago |
Edit | Post #289578 | Initial revision | — | about 1 year ago |
Question | — |
Replace leaf arrays with joined strings in a nested structure in jq Consider the following arbitrarily-nested JSON as input to a jq filter: ```bash echo '[{"foo": [1, 2]}, {"bar": [{"baz": ["foo", "baz"]}]}]' | jq '.' ``` My goal is to join leaf arrays into strings: ```json [{"foo": "12"}, {"bar": [{"baz": "foobaz"}]}] ``` The following filter produce... (more) |
— | about 1 year ago |
Comment | Post #286125 |
Both of these URLs produce screen captures for me, with the small modification `browser = ` rather than `const browser = ` so that it's in scope of the `finally`. The DEBUG output amount depends on the site's behavior. if the site is loading resources that return 403s, that seems fine as long as it f... (more) |
— | over 2 years ago |