json - Ja Serializer task not found by Mix -


i'm playing phoenix reason i'm not able use ja_serializer.

i have dependency on mix.exs

defp deps   (...)   {:ja_serializer, "~> 0.11.1"},   (...) end 

i followed documentation:

my config.exs

config :phoenix, :format_encoders,   "json-api": poison  config :mime, :types, %{   "application/vnd.api+json" => ["json-api"] } 

and re-compile mime:

mix deps.clean mime --build mix deps.get 

but keeps failing:

$ mix ja_serializer.gen.phoenix_api market markets name:string phone:string ** (mix) task "ja_serializer.gen.phoenix_api" not found 


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -