lib/newrelic-management/util.rb
def parse_json(file = nil, symbolize = true)
      return unless file && ::File.exist?(file.to_s)
      begin
        ::JSON.parse(::File.read(file.to_s), symbolize_names: symbolize)
      rescue JSON::ParserError
        return
      end
    end
def parse_json(file = nil, symbolize = true)
      return unless file && ::File.exist?(file.to_s)
      begin
        ::JSON.parse(::File.read(file.to_s), symbolize_names: symbolize)
      rescue JSON::ParserError
        return
      end
    end
def parse_json ( file = nil , symbolize = true ) return unless file && :: File . exist? ( file . to_s ) begin :: JSON . parse ( :: File . read ( file . to_s ) , symbolize_names : symbolize ) rescue JSON :: ParserError return end end
=>    File I/O    <= 

 => Define JSON Parser
= > File I / O < =