9.17 Parse key values pairs from Base64 encoded string
We have a Base64 encoded string
eyJhIjo2MywiYyI6Mjk4LCJuIjoxLCJzIjoxLCJlIjo0MCwicCI6NH0=:
And trying to parse the JSON string to which it is converted as a table. Below is the expected result:
a | c | n | s | e | p |
---|---|---|---|---|---|
63 | 298 | 1 | 1 | 40 | 4 |
SPL script:
A | |
---|---|
1 | =json(base64(arg1,“UTF-8”)) |
SPL Official Website 👉 https://www.scudata.com
SPL Feedback and Help 👉 https://www.reddit.com/r/esProc_SPL
SPL Learning Material 👉 https://c.scudata.com
SPL Source Code and Package 👉 https://github.com/SPLWare/esProc
Discord 👉 https://discord.gg/cFTcUNs7
Youtube 👉 https://www.youtube.com/@esProc_SPL