ArduinoJson V6 parsing problem

hey i'm trying to parse this json
{"channel":{"id":783732,"name":"ESP8266 Test Sicaklik/Nem","latitude":"0.0","longitude":"0.0","field1":"Sicaklik","field2":"Nem","field3":"Relay1","created_at":"2019-05-19T13:02:51Z","updated_at":"2019-07-12T10:23:37Z","last_entry_id":42},"feeds":[{"created_at":"2019-09-08T12:05:30Z","entry_id":42,"field1":"32.00","field2":"45.00","field3":"0"}]}

i can read channel name channel id but can't read the fields data

Serial.print(doc["channel"]["name"].as());
Serial.print(doc["channel"]["id"].as());
Serial.print(doc["channel"]["field1"].as());

CODES ABOVE ARE WORKÄ°NG...

Serial.print(doc["feeds"]["field1"].as());
Serial.print(doc["feeds"]["field2"].as());
Serial.print(doc["feeds"]["field3"].as());

Serial.print(doc["channel"]["feeds"]["field1"].as());
Serial.print(doc["channel"]["feeds"]["field2"].as());
Serial.print(doc["channel"]["feeds"]["field3"].as());

Serial.print(doc["channel"]["feeds"]["field1"][3].as());
Serial.print(doc["channel"]["feeds"]["field2"][4].as());
Serial.print(doc["channel"]["feeds"]["field3"][5].as());

i can't read the field data tried all of these. Does anyone knows how this works?

if you put that into a json formatter

{
	"channel": {
		"id": 783732,
		"name": "ESP8266 Test Sicaklik/Nem",
		"latitude": "0.0",
		"longitude": "0.0",
		"field1": "Sicaklik",
		"field2": "Nem",
		"field3": "Relay1",
		"created_at": "2019-05-19T13:02:51Z",
		"updated_at": "2019-07-12T10:23:37Z",
		"last_entry_id": 42
	},
	"feeds": [{
		"created_at": "2019-09-08T12:05:30Z",
		"entry_id": 42,
		"field1": "32.00",
		"field2": "45.00",
		"field3": "0"
	}]
}

It is a bit more obvious that feeds in an array and you need to access element 0 before accessing "field1"

Serial.print(doc["feeds"][0]["field1"].as());

Or try the ArduinoJson Assistant. Paste in your JSON and see the generated Arduino code to extract all values.