Thank you all for your support.
Based on the suggested library from @xu-chris, I created a PoC using TOON with Phoenix Channels.
My approach:
- Updated the
toon_exlibrary by adding a missing function so Phoenix can encode terms toiodata, and fixed some bugs. - Updated the Phoenix config:
# Use Jason for JSON parsing in Phoenix
# config :phoenix, :json_library, Jason
config :phoenix, :json_library, ToonApp.MyToon
- Created a simple client in Elixir to verify it. I used the
phoenix_clientlibrary.






















