# frozen_string_literal: true

json.extract! link, :id, :url, :text, :description, :last_check_at, :fail_count, :link_category_id, :created_at,
              :updated_at
json.url link_url(link, format: :json)
json.description link.description.to_s
