20 lines
304 B
Ruby
Raw Normal View History

require "json"
module Utils
module JSON
2016-09-23 17:36:27 +02:00
module_function
def load(_)
odisabled "Utils::JSON.load", "JSON.parse"
end
def dump(_)
odisabled "Utils::JSON.dump", "JSON.generate"
2013-06-22 16:51:09 -05:00
end
def stringify_keys(_)
odisabled "Utils::JSON.stringify_keys"
end
end
end