# N8n split specific json from http-request

**URL:** <https://community.n8n.io/t/n8n-split-specific-json-from-http-request/12658>\
**Category:** Questions\
**Tags:** data-transformation, transform-array\
**Created:** [March 29, 2022, 4:35am UTC](https://community.n8n.io/t/n8n-split-specific-json-from-http-request/12658 "2022-03-29T04:35:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![UweG](https://avatars.discourse-cdn.com/v4/letter/u/e495f1/32.png) [@UweG](https://community.n8n.io/u/UweG)\
**Post date:** [March 29, 2022, 4:35am UTC](https://community.n8n.io/t/n8n-split-specific-json-from-http-request/12658/1 "2022-03-29T04:35:25Z")

</div>

I am always trying to learn more about JavaScript to make the most of the possibilities in n8n. Unfortunately, I keep coming up against my inability.  
I want to split the array contained in an http request response from a certain JSON.  
I know how to do this in the code used by Ninox, but I am struggling with my ignorance of n8n syntax.  
I want to split the contents of the array of ‘phone’ to retrieve the text values of the numbers via a GET http request.

Here are the screenshots:

 ![Bildschirmfoto 2022-03-29 um 06.22.51](https://europe1.discourse-cdn.com/n8n/original/2X/3/309839088993e830a3c6414d6a36cc2d56c33c8d.jpeg)  
 ![Bildschirmfoto 2022-03-29 um 06.23.02](https://europe1.discourse-cdn.com/n8n/original/2X/2/227f39f470a5213a33762a54e10a030619da97dc.jpeg)

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [March 29, 2022, 7:57am UTC](https://community.n8n.io/t/n8n-split-specific-json-from-http-request/12658/2 "2022-03-29T07:57:46Z")

</div>

Hey @UweG, any chance you can share the output of your HTTP Request node? Anything confidential can of course be redacted, I am just interested in the data structure. Looks like it requires authorization to run, so I couldn’t test it first hand.

---

<div class="post-metadata">

**Author:** ![Pier-Andre\_Maynard](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/pier-andre_maynard/32/5037_2.png) [@Pier-Andre\_Maynard](https://community.n8n.io/u/Pier-Andre_Maynard)\
**Post date:** [March 31, 2022, 1:47am UTC](https://community.n8n.io/t/n8n-split-specific-json-from-http-request/12658/3 "2022-03-31T01:47:17Z")

</div>

Hi @UweG, wouldn’t it be simpler to use the item list node for this instead?

> **[Item Lists | n8n Docs](https://docs.n8n.io/nodes/n8n-nodes-base.itemlists/#operations)**
>
> Learn how to use the Item Lists node in n8n, an extendable workflow automation tool that enables you to connect anything to everything via its open, fair-code model.
