# Payload Object read out

**URL:** <https://discourse.nodered.org/t/payload-object-read-out/38211>\
**Category:** General\
**Created:** [29 December 2020 14:56 UTC](https://discourse.nodered.org/t/payload-object-read-out/38211 "2020-12-29T14:56:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![luci812](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@luci812](https://discourse.nodered.org/u/luci812)\
**Post date:** [29 December 2020 14:56 UTC](https://discourse.nodered.org/t/payload-object-read-out/38211/1 "2020-12-29T14:56:42Z")

</div>

Hi there  
I'm new here and also new to NodeRed.

I have a question and you can help me to read out the following data:

![NodeRed Power](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/6/b6aa11e130c2f31001b68dfc2580f5e6ed13f850.png)

I would like to read out the individual data here in order to then display them.

Unfortunately, I don't speak English very well either, so it would be nice if you could explain it to me as simply as possible. At best in German

Many Thanks  
Luca

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [29 December 2020 15:51 UTC](https://discourse.nodered.org/t/payload-object-read-out/38211/2 "2020-12-29T15:51:12Z")

</div>

Welcome to the forum @luci812.

Try feeding that message through a JSON node configured as shown, and it should turn it into a javascript object for you.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/1/1173842ad84627589da272e2788280c6f910ab14.png)

---

<div class="post-metadata">

**Author:** ![luci812](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@luci812](https://discourse.nodered.org/u/luci812)\
**Post date:** [29 December 2020 16:17 UTC](https://discourse.nodered.org/t/payload-object-read-out/38211/3 "2020-12-29T16:17:55Z")

</div>

Hello Colin

Many Thanks.

And how can I now evaluate the individual data? Sorry, I don't know enough about it ...

![NodeRed 2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/9/e9c007a7a311672c1c3344e488ad88dfadcd1415.png)

---

<div class="post-metadata">

**Author:** ![luci812](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@luci812](https://discourse.nodered.org/u/luci812)\
**Post date:** [29 December 2020 16:25 UTC](https://discourse.nodered.org/t/payload-object-read-out/38211/4 "2020-12-29T16:25:13Z")

</div>

I did it with a function node.

Many Thanks

![NodeRed 2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/7/b74e8a07775503f693791cd85648840344ea077f.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [29 December 2020 16:29 UTC](https://discourse.nodered.org/t/payload-object-read-out/38211/5 "2020-12-29T16:29:54Z")

</div>

You don't need the parseInt as it is already a number.  
`msg.payload = msg.payload.response.power`  
should do it.  
If you are a complete beginner I suggest you spend an hour watching the [node-red essentials](https://www.youtube.com/watch?v=ksGeUD26Mw0) videos. An hour spent doing that will soon be paid back.  
Also read the docs pages Working With Messages and Writing Functions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 February 2021 16:30 UTC](https://discourse.nodered.org/t/payload-object-read-out/38211/6 "2021-02-27T16:30:03Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
