# How to convert JSON Data to a array List in a connector

**URL:** <https://community.ofelia.com/t/how-to-convert-json-data-to-a-array-list-in-a-connector/8041>\
**Category:** Q&A\
**Created:** [28 December 2016 04:41 UTC](https://community.ofelia.com/t/how-to-convert-json-data-to-a-array-list-in-a-connector/8041 "2016-12-28T04:41:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrudula.iyengar](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@mrudula.iyengar](https://community.ofelia.com/u/mrudula.iyengar)\
**Post date:** [28 December 2016 04:41 UTC](https://community.ofelia.com/t/how-to-convert-json-data-to-a-array-list-in-a-connector/8041/1 "2016-12-28T04:41:21Z")

</div>

I’m trying to fetch data using a script connector which involves a rest API Call.The response rendered is in the form of JSON. Now am trying to retrieve this data through a process variable so that i can use it in my form.Please suggest how to achieve this.

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [28 December 2016 05:00 UTC](https://community.ofelia.com/t/how-to-convert-json-data-to-a-array-list-in-a-connector/8041/2 "2016-12-28T05:00:56Z")

</div>

Have a look at this tutorial:

[https://www.tutorialspoint.com/json/json\_java\_example.htm](https://www.tutorialspoint.com/json/json_java_example.htm)

regards  
Seán

_PS: If this reply answers your question, please mark as resolved._
