Packages

This library helps you search for torrents from multiple popular websites and APIs on the web.

Current section

Files

Jump to
magnex lib json.ex
Raw

lib/json.ex

defmodule JSON do
@json Application.get_env(:magnex, :json_library) ||
raise("You must set your json library config for magnex.json_library")
def decode(json) do
@json.decode(json)
end
def encode_to_iodata(json) do
@json.encode_to_iodata(json)
end
end