• Resolved pixelshrink

    (@pixelshrink)


    This is now resolved thanks!

    Hi, please can you help figure this out. Need to show all the values in the ‘types’ array which has no keys.

    [
        {
            "day": 1,
            "time": "16:30",
            "end_time": "17:30",
            "name": "Name",
            "location": "Location",
            "formatted_address": "Address",
            "regions": [
                "UK",
                "London"
            ],
            "types": [
                "A",
                "B",
                "C",
                "D",
                "E"
            ],
            "notes": "Notes",
            "website": "https://google.com",
            "email": "[email protected]",
        },
    • This topic was modified 1 year, 7 months ago by pixelshrink. Reason: Resolved
Viewing 1 replies (of 1 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    try this:

    [jsoncontentimporter url="https://api.json-content-importer.com/extra/json/ps.json"]    types:<br>
          {subloop-array:types:5}<br>
            {types.0} {types.1} {types.2} {types.3} {types.4}
          {/subloop-array:types}<br>
    [/jsoncontentimporter]

    What you can’t do is having a flexible number of items. This is yet beyond the free JCI Pluign.
    Bernhard

Viewing 1 replies (of 1 total)
  • The topic ‘Subloop query’ is closed to new replies.