Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5b1f2e9311
14 lines (12 sloc) 0.259 kB
module ActiveRecord
module Coders # :nodoc:
class JSON # :nodoc:
def self.dump(obj)
ActiveSupport::JSON.encode(obj)
end
def self.load(json)
ActiveSupport::JSON.decode(json) unless json.nil?
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.