json.error '400 Record Not Update.'
json.employee @record.errors.full_messages

if @family_records.present?
  json.family do
    @family_records.each do |family_mynumber|

      json.set! family_mynumber.api_update_index,family_mynumber.errors.full_messages

    end
  end
end