title: Is there an R function for getting the values that are on the brackets in a JSON file?
body: <p>I'm trying to get some data in a JSON file using R, but it does not work when the data is under brackets and keys, I'm getting a lot of data, the problem is actually getting the value of the "released" parameter. example: </p>
  
  <pre><code>{
  "index": [
      {
        "id": "a979eb2b85d6c13086b29a21bdc421b2673379a4",
        "date": "2019-03-22T01:20:01-0300",
        "status": "OK",
        "sensor": [
          {
            "id": "15",
            "number": 127,
            "callback": { 
              "released": true #it is not possible to return this data
            }
          }
        ]
      },
      {
        "id": "db2890f501a3a49ed74aeb065168e057c3fd51d2",
        "date": "2019-03-25T01:20:01-0300",
        "status": "NOK",
        "sensor": [
          {
            "id": "15",
            "number": 149,
            "callback": {
              "released": false #it is not possible to return this data
            }
          }
        ]
      }
      ]
    }
  </code></pre>
  
  <p>Follow the code:</p>
  
  <pre><code>library(jsonlite) 
  data &lt;- fromJSON("Desktop/json/file.json")
  
  pagination &lt;- list()
  for(i in 0:10){  
    pagination[[i+1]] &lt;- data$index$sensor$callback
  }
  
  data_org &lt;- rbind_pages(pagination)
  nrow(data_org)
  length &lt;- nrow(data_org)
  data_org[1:length, c("released")]
  </code></pre>
  
  <p>The response was being:</p>
  
  <pre><code>nrow(data_org)
  # [1] 0
  data_org[1:length, c("released")]
  # NULL
  </code></pre>