<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -6,7 +6,8 @@
   reset_schema/0,
   create_tables/0,
   insert_card/1,
-  all_cards/0
+  all_cards/0,
+  read_cards/1
 ]).
 
 greet() -&gt; &quot;Hello kitty.&quot;.
@@ -31,3 +32,8 @@ all_cards() -&gt;
   F = fun() -&gt; qlc:e(qlc:q([X || X &lt;- mnesia:table(card)])) end,
   {atomic, Cards} = mnesia:transaction(F),
   Cards.
+
+read_cards(Filename) -&gt;
+  {ok, FileContents} = file:read_file(Filename),
+  json_eep:json_to_term(binary_to_list(FileContents)).
+</diff>
      <filename>src/oracle.erl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2f7a40846c5e342f740c411af341dc9a9fa91859</id>
    </parent>
  </parents>
  <author>
    <name>Colin Campbell-McPherson</name>
    <email>colin@logaan.net</email>
  </author>
  <url>http://github.com/logaan/mana-erlang/commit/1616f4fe4834ee6d9de07a95f5d086a7222f8431</url>
  <id>1616f4fe4834ee6d9de07a95f5d086a7222f8431</id>
  <committed-date>2009-10-07T07:17:28-07:00</committed-date>
  <authored-date>2009-10-07T07:17:28-07:00</authored-date>
  <message>reading in the legacy card list and parsing the json</message>
  <tree>5d5c359cfe17418a3d75f137e32e65bc28cc28bf</tree>
  <committer>
    <name>Colin Campbell-McPherson</name>
    <email>colin@logaan.net</email>
  </committer>
</commit>
