Fork me on GitHub

apply

Applies the given transform to each value of a JSON object

The apply transform allows you to apply a script element-wise to a JSON object. For example:

[{
    "a": 5,
    "b": -2
}]
apply($+2)

will return:

[{
    "a": 7,
    "b": 0
}]

Transform Details

One-To-OneStatelessPeekInput SchemaOutput Schema
TrueTrueFalse

Arguments

#DescriptionOptionalConstantHijackedDefault
1The script to run on each element of the objectFalseFalseTrue

This Site

Contribute

ConnectorDB is a very new open-source project. If you are a designer/developer or ML enthusiast, head on over to the connectordb github, where you can choose which part of ConnectorDB you want to contribute towards! Pull requests or bug reports are welcome!