Permalink
Browse files

rebarize this repo

  • Loading branch information...
1 parent bb0c977 commit 1f6f1ba8493bb764919e53fe74c396624cb5b9bc Justin Kirby committed Dec 24, 2011
Showing with 28 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +11 −0 include/json_rec_types.hrl
  3. +4 −0 rebar.config
  4. +11 −0 src/json_rec.app.src
  5. +1 −1 src/json_rec_model.erl
View
@@ -0,0 +1 @@
+ebin
View
@@ -0,0 +1,11 @@
+-ifndef(json_rec_types).
+-define(json_rec_types, true).
+
+-type proplist() :: list({term(),term()}).
+
+-type json_dict() :: {struct, proplist()}.
+-type json() :: json_dict()|list(term()).
+
+
+
+-endif.
View
@@ -0,0 +1,4 @@
+%%-*- mode: erlang; -*-
+{deps, [ ]}.
+{erl_opts, [debug_info]}.
+
View
@@ -0,0 +1,11 @@
+%%-*- mode: erlang -*-
+{application, json_rec,
+ [
+ {description, "Json to Record"},
+ {vsn, git},
+ {modules, [ json_rec ]},
+ {registered, []},
+ {applications, [ kernel, stdlib ]},
+ {mod, []},
+ {env, []}
+ ]}.
View
@@ -1,4 +1,4 @@
--module(rest_model).
+-module(json_rec_model).
-export([behaviour_info/1]).

0 comments on commit 1f6f1ba

Please sign in to comment.