# Parsing Nested JSON with Array

**URL:** <https://discuss.elastic.co/t/parsing-nested-json-with-array/243794>\
**Category:** Logstash\
**Created:** [August 4, 2020, 11:00pm UTC](https://discuss.elastic.co/t/parsing-nested-json-with-array/243794 "2020-08-04T23:00:25Z")\
**Posts on this page:** 1\
**Showing post:** 16

<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:** [August 5, 2020, 5:50pm UTC](https://discuss.elastic.co/t/parsing-nested-json-with-array/243794/16 "2020-08-05T17:50:01Z")

</div>

> [@nikhilsuryan](#):
>
> How we can copy the field to root level, do you have any example code to achieve this?

See [this](https://discuss.elastic.co/t/how-to-dynamically-move-nested-key-value-to-root-level/180006/2) post.

---

_[View the full topic](https://discuss.elastic.co/t/parsing-nested-json-with-array/243794)._
