Skip to content

When dealing with JSON in Python, not doing json.dumps at the end may fail #360

Open
@frikky

Description

@frikky

In the "Execute Python" function, when JSON-like data is sent out, it is added to the "message" field. This leads it to LOOKING like it's valid JSON on the Javascript (frontend) side, but it is not valid on the Python side due to... something.

Find out what that something is.

Node 1 (execute python):
print([{"hello": "there"}])

Node 2 (repeater):
$node_1.#.hello

This may look good in the UI, but will fail in Python. This is most likely an App SDK issue.

Metadata

Metadata

Assignees

Labels

1.4.0bugSomething isn't working

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions