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? if MessagePack.load(MessagePack.dump("foo"), freeze: true).frozen? self.supported_options = [:freeze] end end supported_options.freeze end