How to parse this JSON format in UIFlow blockly mode



  • Hello,
    I have a Govee Lightstrip which has a HTTP API which return something like this:
    {"data":{"device":"XX:XX:XX:XX:XX:XX:XX:XX","model":"H619C","properties":[{"online":true},{"powerState":"off"},{"brightness":100},{"color":{"r":60,"b":207,"g":183}}]},"message":"Success","code":200}
    How can I get for example the value of "brightness" or "powerState"?

    If possible,
    I want to use the blockly mode of UIFlow as the rest of my program is in this mode

    Thanks in advance
    Aaron



  • you use the JSON blocks in UIFlow