projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Resolve merge/rebase
[arvados.git]
/
lib
/
compat
/
multi_json.rb
1
require 'multi_json'
2
3
if !MultiJson.respond_to?(:load) || MultiJson.method(:load).owner == Kernel
4
module MultiJson
5
class <<self
6
alias :load :decode
7
end
8
end
9
end
10
if !MultiJson.respond_to?(:dump)
11
module MultiJson
12
class <<self
13
alias :dump :encode
14
end
15
end
16
end