Emacs JSON update
Tags:
So I managed to get the value of a key, which is in a sequence.
(alist-get
'title
(cdr
(seq-elt [((_id . 6Toxj56H42yi6554j) (title . test2))] 0)
)
)
;; Ignores the following pairs but that is fine, we only have one key, so this always hits.
(alist-get
'title
(cdr
(seq-elt [((_id . 6Toxj56H42yi6554j) (title . test2) (title . test3))] 0)
)
)
So I want to change the ‘title to set it dynamically. Going to follow up on this.
Written on November 21, 2021 at 19:25
Last but not least
If the post is updated, the creation date, will be pushed. So it might happend, you see an existing page back on frontpage. I think, this approach is valid, so wrong information or gained information is covered. But if I am going to write a new part of topic, I might include an updated link to the new post.
Home