lib/rails/graphql/collectors/json_collector.rb
# Mark the start of a new element on the array.
Mark the start of a new element on the array.
Mark the start of a new element on the array .
def next
          return unless @stack_array.last === :complex
          (@stack_value.last << ',') unless @stack_value.last.blank?
          @stack_value.last << to_s
          @current_value = String.new
        end
def next return unless @stack_array . last === :complex ( @stack_value . last << ',' ) unless @stack_value . last . blank? @stack_value . last << to_s @current_value = String . new end
Mark the start of a new element on the array.
Mark the start of a new element on the array .