# Convert text to json

**URL:** <https://discourse.nodered.org/t/convert-text-to-json/32558>\
**Category:** General\
**Created:** [7 September 2020 16:58 UTC](https://discourse.nodered.org/t/convert-text-to-json/32558 "2020-09-07T16:58:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![niclas.w82](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/niclas.w82/32/31813_2.png) [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Post date:** [7 September 2020 17:53 UTC](https://discourse.nodered.org/t/convert-text-to-json/32558/3 "2020-09-07T17:53:02Z")

</div>

Hi. From the beginning somewhere it's an xml.But i receive it in an hex buffer, The convert it to utf8,

 ![Skärmavbild 2020-09-07 kl. 19.49.11](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/f/6fa82a5cb9791f77cd7ab0c7dbf6f30d0ea46683.png)

See topic [Http request (open connection)](https://discourse.nodered.org/t/http-request-open-connection/32459/12)

where Bart helped me a lot to get this far!

---

_[View the full topic](https://discourse.nodered.org/t/convert-text-to-json/32558)._
