# File lib/gherkin/formatter/json_formatter.rb, line 52
      def step(step)
        @current_step_or_hook = step.to_hash
        steps << @current_step_or_hook
      end