module Draftsman::Serializers::Json
Public Instance Methods
dump(object)
click to toggle source
# File lib/draftsman/serializers/json.rb, line 12 def dump(object) ActiveSupport::JSON.encode object end
load(string)
click to toggle source
# File lib/draftsman/serializers/json.rb, line 8 def load(string) ActiveSupport::JSON.decode string end