module Bootsnap::CompileCache::JSON

def init!

def init!
  require('json')
  require('msgpack')
  self.msgpack_factory = MessagePack::Factory.new
  self.supported_options = [:symbolize_names]
  if ::JSON.parse('["foo"]', freeze: true).first.frozen?
    self.supported_options = [:freeze]
  end
  self.supported_options.freeze
end