title: Fully Delete Row in JSON
body: <p>I'm using a method to delete specific lines in a JSON. The user presses a button and the button determines which line to remove. I know that the correct index is being passed in, but my problem is that when I try to remove the row it just replaces it with <code>null</code>, so there's still something there. How do I remove it entirely?</p>
  
  <pre><code>function removeTest(place) {
      var parsedObject = JSON.parse(localStorage["flexuralStrengthSamples"]);
      delete parsedObject[parseInt(place.data.text)];
  
      localStorage["flexuralStrengthSamples"] = JSON.stringify(parsedObject);
  
      console.log(JSON.stringify(parsedObject));
  
      displaySamples();
  }
  </code></pre>
  
  <p>And my resulting JSON:</p>
  
  <pre><code>[{"Result":"Fail","Method":"T97E-v1","Beam1":{"TestingMachineId":"1","BeamAge":"1","WidthUpper":1,"WidthCenter":1,"WidthLower":1,"WidthAverage":1,"DepthRight":1,"DepthCenter":1,"DepthLeft":1,"DepthAverage":1,"MaxLoad":1,"FS":18,"PSI":"18.00000","BreakOutside":"No"},"Beam2":{"BeamAge":"","WidthUpper":null,"WidthCenter":null,"WidthLower":null,"WidthAverage":null,"DepthRight":null,"DepthCenter":null,"DepthLeft":null,"DepthAverage":null,"MaxLoad":null,"FS":null,"PSI":"NaN"},"WaitForCuring":"No","AverageOfBeams":"NaN"},null]
  </code></pre>
  
  <p>In this instance I tried to remove the second of two.</p>