Casex v0.3.0 API Reference

Modules

Simple case conversion for web applications. Easily decodes camelCase body payloads to snake_case and response payloads from camelCase to snake_case. Useful to maintain to expose your API in camelCase but keep internally the elixir naming conventions.

Converts all plug params to snake case.

Format encoder for phoenix. Converts all the keys of the json data to camel case.

Protocol controlling how a value is serialized. It is useful to handle custom structs of your app, without that the Casex will be skipped and passed directly to Jason.