# Array within Device Tag

**URL:** <https://forums.losant.com/t/array-within-device-tag/4634>\
**Category:** Help\
**Tags:** tags, device\
**Created:** [July 11, 2022, 11:35am UTC](https://forums.losant.com/t/array-within-device-tag/4634 "2022-07-11T11:35:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [July 11, 2022, 1:15pm UTC](https://forums.losant.com/t/array-within-device-tag/4634/2 "2022-07-11T13:15:10Z")

</div>

The issue is that, though your value resembles an object, it is still being treated as a string. I wrestled with this for a while but I cannot figure out a way using our Handlebars rendering engine to cast that value to an object, which would allow you to then look up the properties within it. I’m going to file a feature request for a new Handlebars helper that would allow for this use case (casting a stringified object to an actual object).

As a side note, would moving any of these device tags to [attribute tags](https://docs.losant.com/devices/attributes/#including-optional-fields) solve your use case? Those values are also available on the device context object just like device tags are.

---

_[View the full topic](https://forums.losant.com/t/array-within-device-tag/4634)._
