<table id="print-table">
  <tbody>
    <tr class="main-head-table">
      <th>ФИО</th>
      <th>Должность</th>
      <th>Внутренний номер</th>
    </tr>
    <tr>
      <td colspan="7" style="text-align: center; font-weight: bold;" class="hide-tr">Администрация</td>
    </tr>
    <tr>
      <td>wer</td>
      <td>sdf</td>
      <td>10001</td>
    </tr>
    <tr>
      <td>sdf</td>
      <td>sdf</td>
      <td>10002</td>
    </tr>
    <tr>
      <td>sdf</td>
      <td>sdf</td>
      <td>10003</td>
    </tr>
    <tr>
      <td>sdf</td>
      <td>sdf</td>
      <td>10004</td>
    </tr><tr>
    <td>sdf</td>
    <td>sdf</td>
    <td>10005</td>
    </tr>
    <tr>
      <td>sdf</td>
      <td>sdf</td>
      <td>10006</td>
    </tr>
  </tbody>
</table>
const dataRows = document.querySelectorAll('#print-table tr:nth-child(n+2)');
const jsonStruct = [];

dataRows.forEach(row => {
  let fields = row.querySelectorAll("td");
  if (fields.length !== 3) return;
  
  jsonStruct.push({
    name:  fields[0].textContent,
    rank:  fields[1].textContent,
    phone: fields[2].textContent
  });
});

console.log(jsonStruct);

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.