[Solved] Fail to parse json received by BLE

Hello everyone,

I’m trying to parse a json string received by BLE (sent by an ESP32).
I’m able to receive the raw message which seems correctly syntax, ex :


But all my attempts to parse the message an get data are failed, example below is desperately writing “null” in “test2” with a valid json in “test”

Thank in advance for your advice,

So close. Set your variable differently.

You’re setting the value of a variable called [value of app variable jsonReceived]. So if The value of app variable jsonReceived is “Test” then you’d be setting the value of the variable “Test”. Instead, use the set app variable block at the top of the Variables drawer. The one that just says set app variable jsonReceive to “”.

1 Like

MARK SOLVED Thanks, I fixed with your support!

1 Like