# Comparing payloads of MQTT-strings

**URL:** https://discourse.nodered.org/t/comparing-payloads-of-mqtt-strings/80538
**Category:** General
**Created:** [13 August 2023 17:27 UTC](https://discourse.nodered.org/t/comparing-payloads-of-mqtt-strings/80538 "2023-08-13T17:27:15Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [14 August 2023 12:34 UTC](https://discourse.nodered.org/t/comparing-payloads-of-mqtt-strings/80538/12 "2023-08-14T12:34:27Z")

</div>

Please connect a debug node(set to display the complete msg object) to the output of an `mqtt-in` node and show us what it looks like. (copy and paste it to a reply)

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

1. Why not use `auto-detect (parsed JSON object, string or buffer)`?
2. what version of NR and node.js are you running? (see NR startup log) \

---

_[View the full topic](https://discourse.nodered.org/t/comparing-payloads-of-mqtt-strings/80538)._
