# JSON: Parse (sub)structure

**URL:** https://community.mp3tag.de/t/json-parse-sub-structure/18214
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [September 1, 2016, 3:40pm UTC](https://community.mp3tag.de/t/json-parse-sub-structure/18214 "2016-09-01T15:40:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [September 1, 2016, 3:40pm UTC](https://community.mp3tag.de/t/json-parse-sub-structure/18214/1 "2016-09-01T15:40:16Z")

</div>

I start this new thread since the one I had sent the comment is marked as "Bug solved":[Parse JSON (sub)structure](https://community.mp3tag.de/t/16249/6).  
There is no way to know json\_select\_object found the json object or not. Script is useless in big part of the cases.  
Try attached script with different artists (Peter Gabriel, Dire Straits, etc). Pay attention to country name column which is set to artist name in many cases.  
Let's hope the competent **one** would go through this thread. 🕶

[MusicBrainz\_\_json\_\_Artist.src](https://community.mp3tag.de/uploads/default/original/2X/1/18c7d863bcf078e2862f65861a6ad22115cce145.src) (2.43 KB)

---

<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: [March 16, 2019, 8:40pm UTC](https://community.mp3tag.de/t/json-parse-sub-structure/18214/3 "2019-03-16T20:40:31Z")

</div>

This is now changed in that way, that the name of the selected object appears at the current position if successful.

You can check it via

```auto
json_select_object "something"
if "something"
   ...
   json_unselect_object
endif

```

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [April 15, 2019, 8:40pm UTC](https://community.mp3tag.de/t/json-parse-sub-structure/18214/4 "2019-04-15T20:40:40Z")

</div>

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