# \[BUG\] tolist() broken in 8.0.5

**URL:** <https://forum.inductiveautomation.com/t/bug-tolist-broken-in-8-0-5/29454>\
**Category:** Ignition Early Access\
**Created:** [October 28, 2019, 4:22pm UTC](https://forum.inductiveautomation.com/t/bug-tolist-broken-in-8-0-5/29454 "2019-10-28T16:22:09Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 26, 2019, 4:43pm UTC](https://forum.inductiveautomation.com/t/bug-tolist-broken-in-8-0-5/29454/6 "2019-11-26T16:43:11Z")

</div>

Try this, in the meantime - I need to come up with a better way to handle conversion to json (or, our jsonEncode function needs to get better at encoding objects)

```auto
from com.inductiveautomation.ignition.common import TypeUtilities
jsonObject = TypeUtilities.pyToGson(<yourobject>)
print jsonObject

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/bug-tolist-broken-in-8-0-5/29454)._
