# How to change between sub item levels in JSON content?

**URL:** <https://community.mp3tag.de/t/how-to-change-between-sub-item-levels-in-json-content/55476>\
**Category:** Web Sources Discussion\
**Created:** [December 10, 2021, 8:10pm UTC](https://community.mp3tag.de/t/how-to-change-between-sub-item-levels-in-json-content/55476 "2021-12-10T20:10:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [December 10, 2021, 8:10pm UTC](https://community.mp3tag.de/t/how-to-change-between-sub-item-levels-in-json-content/55476/1 "2021-12-10T20:10:23Z")

</div>

I try to parse a JSON output. This works fine for the top level entries, including the ones in my  
`json_foreach "releases"`  
loop.

For the sub item content like in `text-representation`, it seems that I have first to select the item titel without content (`text-representation` in my example) followed by the sub item name (`language` in my example).  
This works also for the next sub item name `script` and associated content "Latn"

**But how can I get back to the upper JSON level?**

In my case I should get back to the level where `artist-credit` would be the next item.  
How can I do that?  
Or how should I traverse such subitems to find a specific name and content?

 ![image](https://community.mp3tag.de/uploads/default/original/2X/c/cb9c0ea37a9fddd3fa2c52be7b1f9b24c54fdd52.png)

---

<div class="post-metadata">

**Author:** ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)\
**Post date:** [December 11, 2021, 8:28am UTC](https://community.mp3tag.de/t/how-to-change-between-sub-item-levels-in-json-content/55476/2 "2021-12-11T08:28:38Z")

</div>

Please try:

```nohighlight
json_select_object "text-representation"
   json_select "language"
   sayrest
json_unselect_object

```
