I am trying to take the incoming JSON items and bind them to listbox items but I am told by visual studio that I need to do an Array and not Object? I\'ve never had to do th
Try this
RootObject rootObject; if (json.startsWith("[")) { rootObject = JsonConvert.DeserializeObject>(json)[0]; } else { rootObject = JsonConvert.DeserializeObject(json); }