List<User> list = LoadUsers(); JObject json = new JObject(); json["users"] = new JValue(list);
Кажется, не работает?
Ошибка:
Could not determine JSON object type for type System.Collections.Generic.List`1