Library for format maps and list in response controller
def deps do
[{:generic_serializer, git: "https://github.com/misterandyv/generic-serializer.git"}]
end
next update dependencies :
mix deps.get
alias GenericSerializer
For list :
GenericSeralizer.generic_list("here send to list")
For maps :
GenericSeralizer.generic_map("here send to map")
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.