Merge branch '11549-cwl-smarter-mounts' closes #11549
[arvados.git] / services / api / config / initializers / noop_deep_munge.rb
1 module ActionDispatch
2   class Request < Rack::Request
3     # This Rails method messes with valid JSON, for example turning the empty
4     # array [] into 'nil'.  We don't want that, so turn it into a no-op.
5     remove_method :deep_munge
6     def deep_munge(hash)
7       hash
8     end
9   end
10 end