# File lib/gherkin/formatter/json_formatter.rb, line 62
      def result(result)
        current_steps[@step_index]['result'] = result.to_hash
        @step_index += 1
      end