Using ethernet deserialize json

hai , need to get json from my server using http throug ethernet

 // Make a HTTP request:
    client.println("GET /");
    client.println("Connection: close");

if i use this i can only able to read the json. can't deserialize it.

any sugestion for geting data through ethernet like http.get()

have a look at

You forgot to put the protocol version in the GET header:
client.println("GET / HTTP/1.1");

Don't forget to read the headers before trying to parse the JSON document in the HTML body.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.