# Error in JSON Handler

**URL:** <https://community.homey.app/t/error-in-json-handler/87391>\
**Category:** Vragen & hulp\
**Created:** [August 18, 2023, 12:22pm UTC](https://community.homey.app/t/error-in-json-handler/87391 "2023-08-18T12:22:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Pairis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pairis/32/56439_2.png) [@Pairis](https://community.homey.app/u/Pairis)\
**Post date:** [August 18, 2023, 12:28pm UTC](https://community.homey.app/t/error-in-json-handler/87391/3 "2023-08-18T12:28:57Z")

</div>

Fixed!

```auto
function(s) {
  let a = s.split('|');
  return {words:a, splits:[a[0], a[1]]};
}

```

---

_[View the full topic](https://community.homey.app/t/error-in-json-handler/87391)._
