Why Nostr? What is Njump?
2024-09-29 13:53:43
in reply to

Mattias Wadman on Nostr: npub1vr4dq…d92wq sadly in jq if a literal contains empty the whole literal will be ...

sadly in jq if a literal contains empty the whole literal will be empty. simplest i can come up with is:
... | if .update then .date_modified = .update end | ...
it would have been nice if {a: empty} was just {} but it's a bit too late to change that :)
Author Public Key
npub1kx3d8pcl2cpfy98zy8gd7lqjqpfavgxwqvnvqk5rz7xvkpxw280sj94a5h