jq

Jq

Json Query some basics about JQ https://stedolan.github.io/jq https://www.baeldung.com/linux/jq-command-json RAW Data cat history.shelly.0.SHEM-3#40F52000B661#1.Total.Current.json | jq '.[0:3]' [ { "val": 2.64, "ack": 1, "ts": 1607900404883, "q": 0, "user": "system.user.admin" }, { "val": 2.61, "ack": 1, "ts": 1607900410483, "q": 0, "user": "system.user.admin" }, { "val": 2.58, "ack": 1, "ts": 1607900416083, "q": 0, "user": "system.user.admin" } ] Query First Record cat history.shelly.0.SHEM-3#40F52000B661#1.Total.Current.json | jq '.[0]' { "val": 2.64, "ack": 1, "ts": 1607900404883, "q": 0, "user": "system.