lib/json/streamer.rb in json-streamer-2.0.1 vs lib/json/streamer.rb in json-streamer-2.1.0

- old
+ new

@@ -1,9 +1,9 @@ require_relative "streamer/json_streamer" module Json module Streamer - def self.parser(file_io: nil, chunk_size: 1000) - JsonStreamer.new(file_io, chunk_size) + def self.parser(file_io: nil, chunk_size: 1000, event_generator: :default) + JsonStreamer.new(file_io, chunk_size, event_generator) end end end