json.array!(@contacts) do |contact| json.extract! contact, :id, :client_id, :name, :phone, :email, :last_contact, :note, :region, :department, :postal_code, :address json.url contact_url(contact, format: :json) end