master
json.extract! category, :id, :name, :created_at, :updated_at json.url category_url(category, format: :json)