title: How to change data in a json response
body: <p>I am getting a jsonResponse with some data like this: </p>
  
  <pre><code>[ 
     { 
        "date":"2019-02-15",
        "value":"5456"
     },
     { 
        "date":"2019-02-15",
        "value":"5456"
     },
     { 
        "date":"2019-02-15",
        "value":"5456"
     },
     { 
        "date":"2019-02-15",
        "value":"-5456"
     }
  ]
  
  </code></pre>
  
  <p>What I need is to change the delimiter in the date from " - " to " / ". I need date like: 2019/03/14</p>
  
  <p>I tried to change them like this:</p>
  
  <pre><code>json.replace(/-/g, "/"); 
  
  </code></pre>
  
  <p>and it works but there is a problem. If for some reason the value data is negative -524. That minus will change also.</p>
  
  <p>There si any way to change the delimiter without affecting another data ?</p>
  
  <p>I need to keep the jsonResponse but with the delimiter change.</p>