Title: Trouble with array
Last modified: September 2, 2020

---

# Trouble with array

 *  Resolved [bretzels](https://wordpress.org/support/users/bretzels/)
 * (@bretzels)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/trouble-with-array/)
 * Hi Bernhard,
 * I’m having trouble with this JSON – [https://raider.io/api/v1/characters/profile?region=us&realm=Zul%27jin&name=Br%C3%A8tzels&fields=mythic_plus_scores_by_season%3Acurrent](https://raider.io/api/v1/characters/profile?region=us&realm=Zul%27jin&name=Br%C3%A8tzels&fields=mythic_plus_scores_by_season%3Acurrent)
 * What I want to do is call the **“all”** value below.
 * Here’s the code I got, doesn’t seem to work actually.
 * `[jsoncontentimporter url=https://raider.io/api/v1/characters/profile?region=
   us&realm=Zul%27jin&name=Br%C3%A8tzels&fields=mythic_plus_scores_by_season%3Acurrent]{
   subloop:mythic_plus_scores_by_season:-1}{subloop-array:mythic_plus_scores_by_season.
   scores:-1}{mythic_plus_scores_by_season.scores.all}{/subloop-array:mythic_plus_scores_by_season.
   scores}{/subloop:mythic_plus_scores_by_season} [/jsoncontentimporter]`
 * Think you can help me with that? Great plugin by the way!
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/trouble-with-array/#post-13357664)
 * Hi,
 * try this:
 * [jsoncontentimporter url=https://raider.io/api/v1/characters/profile?region=us&
   realm=Zul%27jin&name=Br%C3%A8tzels&fields=mythic_plus_scores_by_season%3Acurrent
   debugmode=10]
    name: {name}<br> {subloop-array:mythic_plus_scores_by_season:-
   1} mythic_plus_scores_by_season.season: {mythic_plus_scores_by_season.season}
   <br> {subloop:mythic_plus_scores_by_season.scores:-1} all: {mythic_plus_scores_by_season.
   scores.all}, spec_0: {mythic_plus_scores_by_season.scores.spec_0} {/subloop:mythic_plus_scores_by_season.
   scores} {/subloop-array:mythic_plus_scores_by_season} [/jsoncontentimporter]
 * Bernhard

Viewing 1 replies (of 1 total)

The topic ‘Trouble with array’ is closed to new replies.

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/trouble-with-array/#post-13357664)
 * Status: resolved