node-RED json object - how to extract json values
<p>In node-RED, I used 'batcher' node to bring 2 Humidity readings together in a msg, which I want in a json format, to use it downstream, one for inside, there other in a quad.</p>

<p>The constructed msg object now looks like this:</p>

<pre><code>{ "topic": "Hum", "payload": [ { "inside": 29 }, { "quad": 54 } ] }
</code></pre>

<p>I am trying to get to elements in this object, with:</p>

<pre><code>msg.payload.inside
</code></pre>

<p>But it is not working, how can I get to for instance the inside humidity ?</p>