Код: Выделить всё
ResponseOut = "{ \"chatid\":\"3c377545-4622-4957-97cc-535460937af\" },{\"tok\":\"I apologize, but as an AI language model, I am not capable of answering your question. However, I can suggest that you consult the documentation. Additionally, there are many\"},{\"tok\":\" online resources and forums where you can find sample and please dont asked me again. Too much already bro.\"},[]";
// Error in this area
var items = JsonConvert.DeserializeObject(ResponseOut);
// Error in this area also
var items = JsonConvert.DeserializeObject(ResponseOut);
// My Class
public class Item
{
public string chatid { get; set; }
public string tok { get; set; }
}
// Ошибка в этой области
var items = JsonConvert.DeserializeObject (ResponseOut);
// В этой области также есть ошибка
var items = JsonConvert.DeserializeObject(ResponseOut);
Подробнее здесь: https://stackoverflow.com/questions/790 ... son-object