BaseSerializer
Inherits Lucky::Serializer < Reference < Object
Class methods
for_collection(collection : Enumerable, pages : Lucky::Paginator | Nil = nil, *args, **named_args)
NOTE: This has been modified to allow custom collection root key. https://luckyframework.org/guides/json-and-apis/rendering-json#customizing-collection-rendering