json.extract! checklist, :id, :code, :name, :description, :created_at, :updated_at json.url checklist_url(checklist, format: :json)