# `ACP.JSONHelpers`
[🔗](https://github.com/f1729/agent-client-protocol-elixir/blob/main/lib/acp/json_helpers.ex#L1)

JSON serialization helpers for ACP types.

# `encode_struct`
[🔗](https://github.com/f1729/agent-client-protocol-elixir/blob/main/lib/acp/json_helpers.ex#L49)

Encode a value to JSON, dropping nil fields from structs.

# `from_json_map`
[🔗](https://github.com/f1729/agent-client-protocol-elixir/blob/main/lib/acp/json_helpers.ex#L35)

Convert a map with camelCase string keys to a keyword list or map with snake_case atom keys.

# `to_camel_case`
[🔗](https://github.com/f1729/agent-client-protocol-elixir/blob/main/lib/acp/json_helpers.ex#L5)

Convert an atom or string from snake_case to camelCase.

# `to_json_map`
[🔗](https://github.com/f1729/agent-client-protocol-elixir/blob/main/lib/acp/json_helpers.ex#L22)

Convert a map with snake_case atom keys to camelCase string keys, dropping nil values.

# `to_snake_case`
[🔗](https://github.com/f1729/agent-client-protocol-elixir/blob/main/lib/acp/json_helpers.ex#L14)

Convert a string from camelCase to snake_case.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
