There is no code in this module. It defines an inteface for Serializer implementations, and requires the following methods:
encode()
encode_pretty()
encode_bulk()
decode()
mime_type()
See Elasticsearch::Serializer::JSON for more.