title: How can I remove white spaces between keys and values of object
body: <p>I want to remove all the white spaces between the keys, or names of the objects before I decode them using <code>json_decode</code> method. </p>
  
  <p>Like <code>Income cut</code> can i make it <code>Income_cut</code>. </p>
  
  <p>Is there a way around this. </p>
  
  <pre><code>{
      "Housing": 0,
      "Late Comers": 0,
      "Income cut": "12500",
      "Study Allowance": 0,
      "test": 0,
      "i": 0,
      "staff_no": "9",
      "staff_name": "Abeja Vicky",
      "staff_department": "Production Staff",
      "staff_position": "Production Manager",
      "staff_salary": "0",
      "GrossValue": 12500,
      "GrossSalary": 0,
      "NSSF": 0,
      "PAYE": 0,
      "GrossValueAddiotion": 0,
      "GrossValueDecuction": 12500,
      "netPay": -12500,
      "Balance": 0,
      "Paidx": 0,
      "balance": -12500
  }
  </code></pre>