Title: Unable to display array objects in subloop
Last modified: May 5, 2018

---

# Unable to display array objects in subloop

 *  Resolved [dv18](https://wordpress.org/support/users/dv18/)
 * (@dv18)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/unable-to-display-array-objects-in-subloop/)
 * Dear Bernhard,
 * Your plugging seems the solution that I was looking for. However, I can’t seem
   to display the array data (products) from a valid json. My testing code is:
    [
   jsoncontentimporter url=https://www.123mc.dk/feed/transport-paging.json.php?did
   =1858&new=2&encode=utf8] Besked: {message} {response} test ads: {subloop:t:-1}{
   subloop-array:t.annoncer:-1} {t.annoncer.brand}{t.annoncer.model} {t.annoncer.
   text} {subloop-array:t.annoncer:images:-1} {t.annoncer.images.small} {/subloop-
   array:t.annoncer:images} {/subloop-array:t.annoncer} {/subloop:t} [/jsoncontentimporter]
 * Any assistance in order to display the products is greatly appreciated.
 * All the best 🙂
    Diego
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funable-to-display-array-objects-in-subloop%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/unable-to-display-array-objects-in-subloop/#post-10250700)
 * try this:
 * [jsoncontentimporter url=https://www.123mc.dk/feed/transport-paging.json.php?
   did=1858&new=2&encode=utf8 fdebugmode=10]
    Besked: {message} {response} test 
   ads: {subloop:T:-1} {subloop-array:T.annoncer:-1}T.annoncer.id:{T.annoncer.id}{
   subloop-array:T.annoncer:images:-1} {T.annoncer.images.small} {/subloop-array:
   T.annoncer:images} {/subloop-array:T.annoncer} {/subloop:T} [/jsoncontentimporter]
 *  Thread Starter [dv18](https://wordpress.org/support/users/dv18/)
 * (@dv18)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/unable-to-display-array-objects-in-subloop/#post-10261124)
 * Thank you very much for correcting my syntax, it does work like a charm. We’ll
   get the pro version soon.
    All the best 🙂 Diego

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Unable to display array objects in subloop’ 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: [dv18](https://wordpress.org/support/users/dv18/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/unable-to-display-array-objects-in-subloop/#post-10261124)
 * Status: resolved