title: Replacing multiple values in JSON
body: <p>I have some JSON which I'd like to change the values in:</p>
  <pre><code>[
    {
      &quot;Roster Reports&quot;: &quot;Work Roster&quot;
    },
    {
      &quot;#untitled--19&quot;: &quot;Start Date:&quot;,
      &quot;#untitled--26&quot;: &quot;01/11/2021&quot;,
      &quot;#untitled--34&quot;: &quot;End Date:&quot;,
      &quot;#untitled--43&quot;: &quot;28/11/2021&quot;
    },
    {
      &quot;#untitled&quot;: &quot;Nov 2021&quot;,
      &quot;#untitled--5&quot;: &quot;Mon&quot;,
      &quot;#untitled--7&quot;: &quot;Tue&quot;,
      &quot;#untitled--9&quot;: &quot;Wed&quot;,
      &quot;#untitled--11&quot;: &quot;Thu&quot;,
      &quot;#untitled--13&quot;: &quot;Fri&quot;,
      &quot;#untitled--15&quot;: &quot;Sat&quot;,
      &quot;#untitled--17&quot;: &quot;Sun&quot;,
      &quot;#untitled--20&quot;: &quot;Mon&quot;,
      &quot;#untitled--22&quot;: &quot;Tue&quot;,
      &quot;#untitled--24&quot;: &quot;Wed&quot;,
      &quot;#untitled--28&quot;: &quot;Thu&quot;,
      &quot;#untitled--31&quot;: &quot;Fri&quot;,
      &quot;#untitled--36&quot;: &quot;Sat&quot;,
      &quot;#untitled--39&quot;: &quot;Sun&quot;,
      &quot;#untitled--41&quot;: &quot;Mon&quot;,
      &quot;#untitled--45&quot;: &quot;Tue&quot;,
      &quot;#untitled--48&quot;: &quot;Wed&quot;,
      &quot;#untitled--50&quot;: &quot;Thu&quot;,
      &quot;#untitled--52&quot;: &quot;Fri&quot;,
      &quot;#untitled--54&quot;: &quot;Sat&quot;,
      &quot;#untitled--56&quot;: &quot;Sun&quot;,
      &quot;#untitled--58&quot;: &quot;Mon&quot;,
      &quot;#untitled--60&quot;: &quot;Tue&quot;,
      &quot;#untitled--62&quot;: &quot;Wed&quot;,
      &quot;#untitled--64&quot;: &quot;Thu&quot;,
      &quot;#untitled--66&quot;: &quot;Fri&quot;,
      &quot;#untitled--68&quot;: &quot;Sat&quot;,
      &quot;#untitled--70&quot;: &quot;Sun&quot;
    },
    {
      &quot;#untitled--5&quot;: 1,
      &quot;#untitled--7&quot;: 2,
      &quot;#untitled--9&quot;: 3,
      &quot;#untitled--11&quot;: 4,
      &quot;#untitled--13&quot;: 5,
      &quot;#untitled--15&quot;: 6,
      &quot;#untitled--17&quot;: 7,
      &quot;#untitled--20&quot;: 8,
      &quot;#untitled--22&quot;: 9,
      &quot;#untitled--24&quot;: 10,
      &quot;#untitled--28&quot;: 11,
      &quot;#untitled--31&quot;: 12,
      &quot;#untitled--36&quot;: 13,
      &quot;#untitled--39&quot;: 14,
      &quot;#untitled--41&quot;: 15,
      &quot;#untitled--45&quot;: 16,
      &quot;#untitled--48&quot;: 17,
      &quot;#untitled--50&quot;: 18,
      &quot;#untitled--52&quot;: 19,
      &quot;#untitled--54&quot;: 20,
      &quot;#untitled--56&quot;: 21,
      &quot;#untitled--58&quot;: 22,
      &quot;#untitled--60&quot;: 23,
      &quot;#untitled--62&quot;: 24,
      &quot;#untitled--64&quot;: 25,
      &quot;#untitled--66&quot;: 26,
      &quot;#untitled--68&quot;: 27,
      &quot;#untitled--70&quot;: 28
    },   
  {
      &quot;#untitled--5&quot;: &quot;LD:GMTA&quot;,
      &quot;#untitled--7&quot;: &quot;D4~:GMTA&quot;,
      &quot;#untitled--9&quot;: &quot;D4~:GMTA&quot;,
      &quot;#untitled--11&quot;: &quot;D3:GMTA&quot;,
      &quot;#untitled--13&quot;: &quot;A/C:GMTA&quot;,
      &quot;#untitled--20&quot;: &quot;A/C:GMTA&quot;,
      &quot;#untitled--24&quot;: &quot;D5:GMTA&quot;,
      &quot;#untitled--28&quot;: &quot;A/C:GMTA&quot;,
      &quot;#untitled--31&quot;: &quot;A/C:GMTA&quot;,
      &quot;#untitled--41&quot;: &quot;LD:GMTA&quot;,
      &quot;#untitled--50&quot;: &quot;D4:GMTA&quot;,
      &quot;#untitled--52&quot;: &quot;A/C:GMTA&quot;,
      &quot;#untitled--54&quot;: &quot;LD:GMTA&quot;,
      &quot;#untitled--60&quot;: &quot;D5:GMTA&quot;,
      &quot;#untitled--64&quot;: &quot;N:GMTA&quot;,
      &quot;#untitled--66&quot;: &quot;N:GMTA&quot;,
      &quot;#untitled--68&quot;: &quot;N:GMTA&quot;,
      &quot;#untitled--70&quot;: &quot;N:GMTA&quot;
    },
    {
      &quot;#untitled--11&quot;: &quot;08:00 - 18:00&quot;,
      &quot;#untitled--20&quot;: &quot;08:00 - 19:00&quot;
    },
    {
      &quot;#untitled--20&quot;: &quot;AC1:GMTA&quot;,
      &quot;#untitled--60&quot;: &quot;AC1:GMTA&quot;
    },
    {
      &quot;#untitled&quot;: &quot;Sauce&quot;
    },
    {
      &quot;#untitled&quot;: &quot;Rosy&quot;,
      &quot;#untitled--7&quot;: &quot;D4:GMTA&quot;,
      &quot;#untitled--11&quot;: &quot;E4:GMTA&quot;,
      &quot;#untitled--15&quot;: &quot;D3♥:GMTA&quot;,
      &quot;#untitled--22&quot;: &quot;LD:GMTA&quot;,
      &quot;#untitled--28&quot;: &quot;D4:GMTA&quot;,
      &quot;#untitled--45&quot;: &quot;A/L&quot;,
      &quot;#untitled--48&quot;: &quot;A/L&quot;,
      &quot;#untitled--50&quot;: &quot;A/L&quot;,
      &quot;#untitled--52&quot;: &quot;A/L&quot;,
      &quot;#untitled--60&quot;: &quot;LD:GMTA&quot;,
      &quot;#untitled--64&quot;: &quot;A/L&quot;
    }
  ] 
  </code></pre>
  <p>I'd like to change all the values held in the</p>
  <pre><code>{
      &quot;#untitled--5&quot;: 1,
      &quot;#untitled--7&quot;: 2,
      &quot;#untitled--9&quot;: 3,
      &quot;#untitled--11&quot;: 4,
      &quot;#untitled--13&quot;: 5,
      &quot;#untitled--15&quot;: 6,
      &quot;#untitled--17&quot;: 7,
      &quot;#untitled--20&quot;: 8 .... } 
  </code></pre>
  <p>part of the code (x[3]) so that all instances of &quot;#untitled--5&quot; in the JSON are replaced with the corresponding value (in this case, 1), and all instances of &quot;#untitled--7&quot; are replaced with 2, and so on. How might I go about doing this?</p>