# New json\_foreach\_reverse function for WSF

**URL:** https://community.mp3tag.de/t/new-json-foreach-reverse-function-for-wsf/61572
**Category:** Web Sources Discussion
**Created:** [July 16, 2023, 12:04am UTC](https://community.mp3tag.de/t/new-json-foreach-reverse-function-for-wsf/61572 "2023-07-16T00:04:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [July 16, 2023, 12:04am UTC](https://community.mp3tag.de/t/new-json-foreach-reverse-function-for-wsf/61572/1 "2023-07-16T00:04:33Z")

</div>

Beatport has changed to all JSON and rewritten the site.

I'm kinda stuck until I get this new function to rewrite the beatport tag sources.

The trouble is I need a `json_foreach_reverse` function in order to get the right track order @Florian.

This JSON order of the tracks is the inverse of the actual track order.

**See Release:**  
[https://www.beatport.com/release/tomorrowland-remixes/1612329](https://www.beatport.com/release/tomorrowland-remixes/1612329)

**vs. JSON:**

> **[{ "props": { "pageProps": { "\_sentryTraceData": "8d90d35b550d422f -...](https://pastebin.com/v8JwBed3)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

---

<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: [July 16, 2023, 11:15am UTC](https://community.mp3tag.de/t/new-json-foreach-reverse-function-for-wsf/61572/2 "2023-07-16T11:15:23Z")

</div>

`json_foreach_reverse` is now part of [Mp3tag v3.21a](https://community.mp3tag.de/t/455).

Thank you for your work on keeping the Tag Source updated.
