nahid / jsonq

A PHP query builder for JSON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting nth data

Matt2012 opened this issue · comments

In my use case I want to get all results for a certain nth depth.

 "rest": [
    {
      "mode": "server",
      "resource": [
          "type": "AllergyIntolerance",
      "resource": [
          "type": "MedicationStatement",

So I want to return all resource types:
i.e.
["AllergyIntolerance","MedicationStatement"]

Is that possible?
The nth example does not link anywhere?