Package X.PagedList has interface IPagedList<T>. IPagedList<T> implement IEnumerable<T>, so object will serialize into an array. But IPagedList<T> have more properties to record paging information. It should be serialize into an object, than use a property to serialize items.
I hope developers can only configure property name of items to make Enumerable as Object, and other properties will configure automatically.
Package
X.PagedListhas interfaceIPagedList<T>.IPagedList<T>implementIEnumerable<T>, so object will serialize into an array. ButIPagedList<T>have more properties to record paging information. It should be serialize into an object, than use a property to serialize items.I hope developers can only configure property name of items to make
EnumerableasObject, and other properties will configure automatically.