From table
Turn a dataframe into a JSON of records or columns.
Turns a frame into JSON, as records or as columns. The usual way to hand tabular data to an APICall or an APIResponseOut, both of which speak JSON.
At a glance
Module type
FromTable
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
orient
"columns" | "records" · required · defaults to "records"
Whether the JSON side is an array of row objects or an object of column arrays.
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.
data
dataframe
yes
The frame to work on.
Outputs
json
json
json, scalar, signal
The frame, in the shape orient names.
Last updated

