# How to read and parse object names in node-red?

**URL:** <https://discourse.nodered.org/t/how-to-read-and-parse-object-names-in-node-red/68063>\
**Category:** General\
**Tags:** node-red-dashboard, function-node\
**Created:** [22 September 2022 07:12 UTC](https://discourse.nodered.org/t/how-to-read-and-parse-object-names-in-node-red/68063 "2022-09-22T07:12:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JH-Kim88](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jh-kim88/32/68135_2.png) [@JH-Kim88](https://discourse.nodered.org/u/JH-Kim88)\
**Post date:** [22 September 2022 07:12 UTC](https://discourse.nodered.org/t/how-to-read-and-parse-object-names-in-node-red/68063/1 "2022-09-22T07:12:52Z")

</div>

![node-red msg payload object](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/0/80eaea5af5c73c9de7df299f916d760508d6d8d9.png)

I want to read and use Xjlp10Vdamd5HrZWYTwJeFMrGrh2, koglQNzQT5WNtYNXBKi3clqi9T52, null from msg.payload or create another msg.payload, how do I do it?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [22 September 2022 15:57 UTC](https://discourse.nodered.org/t/how-to-read-and-parse-object-names-in-node-red/68063/2 "2022-09-22T15:57:57Z")

</div>

Depending on what your exact requirements are, you can do this with jsonata in a change node.  
Example:

 ![SCR-20220922-ox2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/0/d0e7a683f9a996fe808fd7303a9fed7fa0ccbf57.png)

It is easier to get help here if you supply the input data (as text) and the expected output format.

---

<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:** [21 November 2022 15:58 UTC](https://discourse.nodered.org/t/how-to-read-and-parse-object-names-in-node-red/68063/3 "2022-11-21T15:58:55Z")

</div>

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