gitlab-org--gitlab-foss/lib/serializers/json.rb
Nick Thomas 4aa76dddec
Remove dead MySQL code
None of this code can be reached any more, so it can all be removed
2019-07-23 16:53:03 +01:00

18 lines
311 B
Ruby

# frozen_string_literal: true
module Serializers
# Make the resulting hash have deep indifferent access
class JSON
class << self
def dump(obj)
obj
end
def load(data)
return if data.nil?
Gitlab::Utils.deep_indifferent_access(data)
end
end
end
end