0x69B1 is a string !
#3052
-
Newbie in distress... After exhausting all my single/double quote back-slash skills I tried this:
How can I tell jq that 0x69B1 is a string ? {"ZbLight":{"0x69B1":{"Device":"0x69B1","Na... |
Beta Was this translation helpful? Give feedback.
Answered by
wader
Feb 26, 2024
Replies: 1 comment 5 replies
-
You use wget -qO- -- "$url2" | jq '.ZbLight."0x69B1".Dimmer' (or in your |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@afgcons There are two "ZbLight" keys in the root object, second one is the string "Done". I guess that is the reason.