title: How can i parse json object containing slashes in java
body: <p>I want to parse a windows path in java.
  this is part of the json:</p>
  
  <p><code>..."sslkey":"c:\usr\ssl\key.jks"</code></p>
  
  <p>and this is the code:</p>
  
  <pre><code>JsonObject jsonargs = gson.fromJson(args[0], JsonObject.class);
  SSLKEY = jsonargs.get("sslkey").getAsString();
  </code></pre>
  
  <p>I tried with <code>\</code> also in the value, but the error that I have is:</p>
  
  <blockquote>
    <p>Exception in thread "main" com.google.gson.JsonSyntaxException:
    com.google.gson.stream.MalformedJsonException: Unterminated object at
    line 1 column 133 path $.sslkey</p>
  </blockquote>
  
  <p>Could you please tell me how I can fix this?</p>
  
  <p>Thank you !</p>