πŸŸͺ Object to JSON

πŸŸͺ 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


  1. A player object has been progressively filled in using Set in Object blocks.
  2. An Object to JSON block converts this object into a JSON string.
  3. The json output 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/out Stream connectors β€” it doesn't need to be "wired" into the action sequence. It's calculated automatically whenever its json output 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

Was this article helpful?

Share your feedback

Cancel

Thank you!