Title: Simple Array Query
Last modified: August 30, 2016

---

# Simple Array Query

 *  Resolved [robgj](https://wordpress.org/support/users/robgj/)
 * (@robgj)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/simple-array-query/)
 * Hi Bernhard, great plugin and thank you for supporting it as much as you do. 
   I’m using the plugin to display various bits from a json but need to be able 
   to get it to display a loop of info in an array. There are two items to be displayed,
   the name of the reward and no. of kliks required. The json has the format of:
 * “rewards”:[{“name”:”name of reward”,”kliks”:”0″},{“name”:”2nd reward”,”kliks”:”
   12″},{“name”:”3rd reward”,”kliks”:”80″},{“name”:”4th reward”,”kliks”:”120″},{“
   name”:”5th reward”,”kliks”:”150″},{“name”:”6th reward”,”kliks”:”250″},{“name”:”
   7th reward”,”kliks”:”450″},{“name”:”8th reward”,”kliks”:”3000″}]
 * Any help would be big time appreciated. Many thanks, Rob
 * [https://wordpress.org/plugins/json-content-importer/](https://wordpress.org/plugins/json-content-importer/)

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

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/simple-array-query/#post-6776081)
 * Hi rob,
 * try
    “name: {name}kliks: {kliks}<hr>” with basenode=rewards
 * [jsoncontentimporter url=”…” basenode=”rewards”]name: {name}
   kliks: {kliks}<hr
   >[/jsoncontentimporter]
 * Feeld free to donate.
    The PRO-version can sort the ranking…
 *  Thread Starter [robgj](https://wordpress.org/support/users/robgj/)
 * (@robgj)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/simple-array-query/#post-6776199)
 * Hi Bernhard,
 * Thanks so much for that and it seems to be working, shall check out the pro version
   anyway and/or send a donation your way, many thanks..
 * Cheers,
    Rob
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/simple-array-query/#post-6776245)
 * Hi Robs,
 * you’re welcome. We switch to mail communication.
 * Bernhard

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

The topic ‘Simple Array Query’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/simple-array-query/#post-6776245)
 * Status: resolved