# VaRest Plugin Help Parsing JSON Array

**URL:** <https://forums.unrealengine.com/t/varest-plugin-help-parsing-json-array/424481>\
**Category:** Blueprint\
**Tags:** syntax, unreal-engine, json, UE4, question, Blueprint\
**Created:** [May 6, 2018, 5:32pm UTC](https://forums.unrealengine.com/t/varest-plugin-help-parsing-json-array/424481 "2018-05-06T17:32:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyconner](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tyconner/32/1203517_2.png) [@tyconner](https://forums.unrealengine.com/u/tyconner)\
**Post date:** [May 6, 2018, 5:32pm UTC](https://forums.unrealengine.com/t/varest-plugin-help-parsing-json-array/424481/1 "2018-05-06T17:32:48Z")

</div>

Hello,  
I am trying to parse through the echo json\_encode I get from my url  
When the JSON is shown it is in the syntax: [{“ID”:“1”},{“ID”:“3”}]

How would I parse through this to get an array of the numbers?

I’ve tried Get Array Field Name: as ID but it doesn’t give me anything.

How would I use the plugin to get “ID” from each JSON Object?

---

<div class="post-metadata">

**Author:** ![tyconner](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tyconner/32/1203517_2.png) [@tyconner](https://forums.unrealengine.com/u/tyconner)\
**Post date:** [May 6, 2018, 8:03pm UTC](https://forums.unrealengine.com/t/varest-plugin-help-parsing-json-array/424481/2 "2018-05-06T20:03:14Z")

</div>

I solved my own issue. Instead of creating the multiple JSON objects I just created one and inserted each number into on field name and I’m parsing that field name. Syntax now looks like {“IDs” : “1,3,6,”}

---

<div class="post-metadata">

**Author:** ![Arthurash](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Arthurash](https://forums.unrealengine.com/u/Arthurash)\
**Post date:** [June 16, 2018, 10:52am UTC](https://forums.unrealengine.com/t/varest-plugin-help-parsing-json-array/424481/3 "2018-06-16T10:52:23Z")

</div>

Hi Tyconner, what is your php code to find the new syntax like {“IDs” : “1,3,6,”} ? I have the same problem. Thx.
