Skip to content
Library defining shared functions and data structures across platform microservices
Elixir Other
  1. Elixir 99.5%
  2. Other 0.5%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Master Version


This library defines helper functions that are used across SmartCity modules.


def deps do
    {:smart_city, "~> 3.2.0"}

Basic Usage

iex> SmartCity.Helpers.to_atom_keys(%{"a" => 1, "b" => 2, "c" => 3})
%{a: 1, b: 2, c: 3}

iex> SmartCity.Helpers.to_atom_keys(%{"a" => %{"b" => "c"}})
%{a: %{b: "c"}}

iex> SmartCity.Helpers.deep_merge(%{a: 1, b: 2}, %{a: 3, c: 4})
%{a: 3, b: 2, c: 4}

Full documentation can be found at


The build process runs these commands:

mix local.rebar --force
mix local.hex --force
mix deps.get
mix format --check-formatted
mix credo
mix test


SmartCity is released under the Apache 2.0 license - see the license at

You can’t perform that action at this time.