1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
require "json" module Utils module JSON module_function def load(_) odisabled "Utils::JSON.load", "JSON.parse" end def dump(_) odisabled "Utils::JSON.dump", "JSON.generate" end def stringify_keys(_) odisabled "Utils::JSON.stringify_keys" end end end