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 modeThanks in advance
Aaron -
you use the JSON blocks in UIFlow
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login