<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,6 +3,8 @@ $:.unshift(File.dirname(__FILE__))
 require 'net/http'
 require 'net/https'
 require 'rubygems'
+gem 'json', '&gt;= 1.1.3'
+require 'json'
 require 'active_support'
 require 'module_level_inheritable_attributes'
 
@@ -96,4 +98,5 @@ module HTTParty
 end
 
 require 'httparty/exceptions'
-require 'httparty/request'
\ No newline at end of file
+require 'httparty/request'
+require 'httparty/xml'
\ No newline at end of file</diff>
      <filename>lib/httparty.rb</filename>
    </modified>
    <modified>
      <diff>@@ -104,9 +104,9 @@ module HTTParty
         return nil if body.nil? or body.empty?
         case format
         when :xml
-          Hash.from_xml(body)
+          ToHashParser.from_xml(body)
         when :json
-          ActiveSupport::JSON.decode(body)
+          JSON.parse(body)
         else
           body
         end</diff>
      <filename>lib/httparty/request.rb</filename>
    </modified>
    <modified>
      <diff>@@ -198,8 +198,8 @@ class REXMLUtilityNode
   end
 end
 
-class HashFromXml
-  def self.create(xml)
+class ToHashParser
+  def self.from_xml(xml)
     stack = []
     parser = REXML::Parsers::BaseParser.new(xml)
 </diff>
      <filename>lib/httparty/xml.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>057e3f1a19426a61913f59fac7189e0a47b6dfa5</id>
    </parent>
  </parents>
  <author>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </author>
  <url>http://github.com/jnunemaker/httparty/commit/c0ad5dece3d15f8549f5292ad678c7b18a939ccb</url>
  <id>c0ad5dece3d15f8549f5292ad678c7b18a939ccb</id>
  <committed-date>2008-12-06T19:16:21-08:00</committed-date>
  <authored-date>2008-12-06T19:16:21-08:00</authored-date>
  <message>Switched json and xml deserializers to json gem and included ToHashParser#from_xml</message>
  <tree>151daeef7b4a7e0d072d533bddf3e890b107163a</tree>
  <committer>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </committer>
</commit>
