Quote:
@Karthik: Issue is I want to copy the JSON object into a new list.
try this
string[] messages = GetMessages();
List<RootObject> list = new List<RootObject>();
var settings = new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore };
foreach (string msg in messages)
{
RootObject obj = JsonConvert.DeserializeObject<RootObject>(message, settings);
list.Add(obj);
}