abstract class BaseSerializer

Direct Known Subclasses

Defined in:

serializers/base_serializer.cr

Class Method Summary

Class Method Detail

def self.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


[View source]