develop
# frozen_string_literal: true json.array!(@collection) do |category| json.extract! category, :id, :label end