I am new with jq and I have these json output of an app:
{ "Woonkamer": { "currentTemperature": 21.8, "battery": 75, "isFailed": false } } { "Hal": { "currentTemperature": 19.5, "battery": 48, "isFailed": false } } { "Bijkeuken": { "currentTemperature": 18.4, "battery": 56, "isFailed": false } } I want them to join to one json object like:
{ "Woonkamer": { "currentTemperature": 21.8, "battery": 75, "isFailed": false }, "Hal": { "currentTemperature": 19.5, "battery": 48, "isFailed": false }, "Bijkeuken": { "currentTemperature": 18.4, "battery": 56, "isFailed": false } } I cannot get figured out how to do that with jq (I read the manual),
Can someone help me?