Permalink
Browse files

Updated to use JSON

  • Loading branch information...
1 parent 7b5206c commit ef91e0e85afd5df9d29d02889b2e0f9cf49b796b @brewpoo committed Jun 26, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/brewser/engines/brewson.rb
@@ -7,10 +7,11 @@ def acceptable?(q)
end
def deserialize(string_or_io)
+ JSON.parse(string_or_io)
end
def serialize(brewser_model)
- brewser_model.deep_json
+ JSON.generate(brewser_model)
end
end

0 comments on commit ef91e0e

Please sign in to comment.