title: Filter JSON data arduino
body: <p>I am trying to filter JSON data with my Arduin (working with an ESP8266). 
  This is what I have :</p>
  
  <pre><code>if (httpCode &gt; 0) {
    // Parsing
    const size_t bufferSize = JSON_OBJECT_SIZE(2) + JSON_OBJECT_SIZE(3) + JSON_OBJECT_SIZE(5) + JSON_OBJECT_SIZE(8) + 370;
    DynamicJsonBuffer jsonBuffer(bufferSize);
    JsonObject&amp; root = jsonBuffer.parseObject(http.getString());
    // Parameters
    int id = root["Reismogelijkheid"];
    const char* departure = root["ActueleVertrekTijd"];
    // Output to serial monitor
    Serial.print("Vertrijktijd:");
    Serial.println(departure);
  }
  </code></pre>
  
  <p>I can make connection to my wifi network and I can make connection to the website to get JSON data from here : <a href="http://hendriks.pm/ns.php" rel="nofollow noreferrer">http://hendriks.pm/ns.php</a> but I want to filter the data and only get the <em>ActueleVertrekTijd</em>, so that I can store it in a const and that I can see it on my Serial monitor.</p>
  
  <p>I tried to use this example : <a href="https://www.instructables.com/id/ESP8266-Parsing-JSON/" rel="nofollow noreferrer">https://www.instructables.com/id/ESP8266-Parsing-JSON/</a> but that didn't worked for me. </p>
  
  <p>This is the Json :</p>
  
  <p><a href="https://i.stack.imgur.com/NQRnk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NQRnk.png" alt="enter image description here"></a></p>