# Parse array of json having json and array in it

**URL:** https://discuss.elastic.co/t/parse-array-of-json-having-json-and-array-in-it/222936
**Category:** Logstash
**Created:** [March 10, 2020, 12:52pm UTC](https://discuss.elastic.co/t/parse-array-of-json-having-json-and-array-in-it/222936 "2020-03-10T12:52:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sandy1139](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@sandy1139](https://discuss.elastic.co/u/sandy1139)
#### Post date: [March 10, 2020, 12:52pm UTC](https://discuss.elastic.co/t/parse-array-of-json-having-json-and-array-in-it/222936/1 "2020-03-10T12:52:37Z")

</div>

I have the following message which is JSON Array. It has nested JSON object and an Array within, how would I parse this.

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [March 10, 2020, 2:20pm UTC](https://discuss.elastic.co/t/parse-array-of-json-having-json-and-array-in-it/222936/2 "2020-03-10T14:20:00Z")

</div>

> [@sandy1139](#):
>
> how would I parse this

Use either a json codec on the input or use a json filter.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 8, 2020, 9:21am UTC](https://discuss.elastic.co/t/parse-array-of-json-having-json-and-array-in-it/222936/5 "2020-04-08T09:21:20Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
