# `JSONAPI.Utils.IncludeTree`
[🔗](https://github.com/beam-community/jsonapi/blob/main/lib/jsonapi/utils/include_tree.ex#L1)

Internal utility for building trees of resource relationships

# `build_tree`

# `deep_merge`

```elixir
@spec deep_merge(Keyword.t(), Keyword.t()) :: Keyword.t()
```

# `get_base_relationships`

```elixir
@spec get_base_relationships(tuple()) :: term()
```

# `member_of_tree?`

```elixir
@spec member_of_tree?(term(), term()) :: boolean()
```

# `put_as_tree`

```elixir
@spec put_as_tree(term(), term(), term()) :: term()
```

---

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