πͺ Object to JSON
πͺ Object to JSON
The Object to JSON block converts an Object variable (a "record" holding several pieces of information) into JSON-formatted text β a format most websites and online services can read. This text is then ready to be sent in an HTTP request, a Webhook, or saved.
This is the reverse operation of the "JSON to Object" block.
π₯ Inputs
- object (Object): The Object variable to convert.
π€ Outputs
- json (Text): The resulting JSON string, valid and ready to be transmitted.
π‘ Example
Scenario: Sending a player record built in the graph to an API
- A
playerobject has been progressively filled in using Set in Object blocks. - An Object to JSON block converts this object into a JSON string.
- The
jsonoutput is wired to the body input of an HTTP Request block to send it to an external server.
βοΈ Technical Details
- Internal ID:
objectToJson - No stream points: This block has no
in/outStream connectors β it doesn't need to be "wired" into the action sequence. It's calculated automatically whenever itsjsonoutput is used elsewhere, like a formula. - Nested objects: Nested objects and lists in the source variable are recursively serialized into valid JSON.
Documented version: v1
Updated on: 06/09/2026
Thank you!
