forum

Home / DeveloperSection / Forums / Can Json.Net handle a List<object>?

Can Json.Net handle a List<object>?

Royce Roy343828-Jan-2014

List<User> list = LoadUsers();

JObject json = new JObject();

json["users"] = new JValue(list);

Doesn't seem to be working?

Error:

Could not determine JSON object type for type System.Collections.Generic.List


Updated on 29-Jan-2014

Can you answer this question?


Answer

1 Answers

Liked By