module

Alumna::Http::Serializers

Central registry for all wire formats. Add new formats here - router and responder stay untouched.

Constants

JSON = JsonSerializer.new
MSGPACK = MsgpackSerializer.new

Class methods

from_accept?(accept : String | Nil) : Serializer | Nil
Source
from_content_type?(ct : String | Nil) : Serializer | Nil
Source