Ask a question to get started
Enter to send•Shift+Enter new line
Convert the data of a node to a JSON-serializable format.
node_data_json( node: Node, *, with_schemas: bool = False ) -> dict[str, str | dict[str, Any]]
node
Node
The Node to convert.
with_schemas
bool
False
Whether to include the schema of the data if it is a Pydantic model.