title: How to stop Java from separating JSON string passed as a command line argument into separate subunits of args[]
body: <p>I want to pass this JSON String to a Java class through command line arguments. </p>
  
  <blockquote>
    <p>{"body": "We should definitely meet up, man", "startDate": "2014-05-29 11:00:00", "endDate": "2014-05-29 12:00:00", "location": "Boca Raton", "subject": "This is the subject of our meeting."}</p>
  </blockquote>
  
  <p>However, at every space, the String gets split up. So args[0] is </p>
  
  <blockquote>
    <p>{"body":</p>
  </blockquote>
  
  <p>args[1] is</p>
  
  <blockquote>
    <p>"We</p>
  </blockquote>
  
  <p>etc.</p>
  
  <p>I want args[0] to just be </p>
  
  <blockquote>
    <p>{"body": "We should definitely meet up, man", "startDate": "2014-05-29 11:00:00", "endDate": "2014-05-29 12:00:00", "location": "Boca Raton", "subject": "This is the subject of our meeting."}</p>
  </blockquote>
  
  <p>I tried using double quotes, but since there are quotes in the JSON string it didn't work.</p>
  
  <p>How can I do this? Thanks so much!</p>