stringify
This block is part of the value group and was last modified in core v13.0.4.
stringify v13.0.4 uses JSON.stringify to produce a string of the given data
In pins 6
- Value required
value - Number required
number - Object required
object - Condition required
condition - Array required
array - spacing required
number
Out pins 1
- stringified
value
Serializes the FIRST non-nil input among the typed pins (spacing excluded) to a JSON string; when every input is nil it outputs "{}". spacing greater than 0 pretty-prints with that many spaces of indentation. If serialization fails it outputs the literal string "null" instead of erroring.
json string |
stringify |
A typical wiring for stringify: select field values feeds the array pin; search feeds the json pin; Request: POST json feeds the number pin; the stringified out pin feeds set.

Commonly used with
In production blueprints, this block is most often wired together with:
- set: this block feeds into it. Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type.
- select field values: feeds into this block. returns an array with values of the given field in this array of objects.
- return: this block feeds into it. Returns the added custom pins as data-pins on the function execute.
- search: feeds into this block. searches in the given storage based on a query.
- Request: POST json: feeds into this block. Performs an HTTP POST request to create or submit data to the specified URL with a JSON body.
- get fields: feeds into this block. Gets the selected fields from the given object.
Version history
Introduced in v13.0.4.
Back to
value Return to the main group to view all sub-groups Back to json Return to the group to view all blocks within this group
