Skip to content

Get json specified metadata #3760

Answered by vitoyucepi
gAlleb asked this question in Q&A
Feb 21, 2024 · 5 comments · 18 replies
Discussion options

You must be logged in to vote

Hi @gAlleb,

You can use source.last_metadata() ?? [] to get the last known metadata for source.
Compared to previous question you have to use json() because metadata has unknown keys. If you want to use a known set of keys, then record would be fine.
Also, you should use base64 if you want to send an image.

Replies: 5 comments 18 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@gAlleb
Comment options

@vitoyucepi
Comment options

@gAlleb
Comment options

@vitoyucepi
Comment options

@gAlleb
Comment options

Answer selected by gAlleb
Comment options

You must be logged in to vote
6 replies
@toots
Comment options

toots Apr 7, 2024
Maintainer

@gAlleb
Comment options

@toots
Comment options

toots Apr 7, 2024
Maintainer

@gAlleb
Comment options

@gAlleb
Comment options

Comment options

You must be logged in to vote
3 replies
@toots
Comment options

@gAlleb
Comment options

@gAlleb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants