aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/json.rb
blob: 18763b8a6e5dc78539956bb465894fe2693210cf (plain)
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