Explain what is serializer?
For turning a raw JSON ( JavaScript Object Notation ) payload returned from your server into a record object a serializer is responsible. JSON APIs may represent attributes and relationship in many different ways.