Follow

Situation:
- du hast Wayland
- du hast ein JSON Array im Clipboard
Problem:
- du hättest gerne dieses Array nach einem Key der Objekte im Array sortiert
Lösung:

`wl-paste | jq '.|=sort_by(.group.id)' | wl-copy`

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon - Chaosfield

Semi-private Mastodon instance for Chaosfield, Paranoidlabs and friends. Mastodon is a decentralized social network without ads or a single corporation you have to trust with your data. Want an account here without e-mail address of the aforementioned domains? Just write me a short mail. I don't bite :P