HTTP & JSON
jsonFromEntries
$jsonFromEntries — Converts an array of entries into an object
Converts an array of entries into an object
Syntax
$jsonFromEntries[variable]
Parameters
- variable (text, required) — The variable to get entries from
Return Value
- Json.
Usage
$jsonFromEntries[variable] → result
Example
$sendMessage[$let[e;[["x",1],["y",2]]]$jsonFromEntries[e]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.