Skip to content

Commit

Permalink
(maint) change json dep from jazz to poison
Browse files Browse the repository at this point in the history
Prior to this commit, we were using Jazz as the JSON parser for the
emoji data; however, Jazz appears to abandoned and Poison has been under
active development and is the de facto JSON parsing library for many of
the high profile Elixir frameworks, like Phoenix.
  • Loading branch information
Jeff Weiss committed Jan 13, 2016
1 parent 313d21c commit 151e7b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/exmoji.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule Exmoji do
@external_resource vendor_data_file

rawfile = File.read! vendor_data_file
rawdata = Jazz.Decode.it! rawfile, keys: :atoms
rawdata = Poison.decode! rawfile, keys: :atoms
emoji_chars = for char <- rawdata do
%EmojiChar{
name: char.name,
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ defmodule Exmoji.Mixfile do
# Type `mix help deps` for more examples and options
defp deps do
[
{:jazz, "~> 0.2.1"},
{:poison, "~> 1.5"},
{:excoveralls, "~> 0.3", only: :dev},
{:benchfella, github: "alco/benchfella", only: :dev},
{:earmark, "~> 0.1", only: :dev},
Expand Down

0 comments on commit 151e7b3

Please sign in to comment.