Pick
Read one value out of a JSON by path.
Reads one value out of a JSON object by path and types it as kind. default is what a missing path yields, so a partial response does not fail the run.
At a glance
Module type
Pick
Category
Primitives · Scalar and json
Default tier
reactive
Runs on
reactive, durable
Starts a flow
no
Holds a body
no
Keeps state between runs
no
Available in
every application type
Parameters
path
string · required · defaults to ""
The dotted path to read from the object.
kind
"string" | "number" | "boolean" | "datetime" · required · defaults to "string"
The type the value is read as.
default
string | number | boolean | null · required · defaults to null
What a missing path yields, so a partial response does not fail the run.
Inputs
on
event
no
Implicit on every module that does not itself start a flow: wire an event here to make this module the start of what that event runs.
json
json
yes
The object to read from.
Outputs
value
scalar
scalar, json, text, signal
The value at path, or default.
Last updated

