title: Perl JSON pound sign escaping
body: <p>I am trying to use a web API of a service written in Perl (OTRS).
  The data is sent in JSON format.</p>
  
  <p>One of the string values inside the JSON structure contains a pound sign, which in apparently is used as a comment character in JSON.
  This results in a parsing error:</p>
  
  <blockquote>
    <p>unexpected end of string while parsing
    JSON string</p>
  </blockquote>
  
  <p>I couldn't find how to escape the character in order to get the string parsed successfully.
  The obvious slash escaping results in:</p>
  
  <blockquote>
    <p>illegal backslash escape sequence in
    string</p>
  </blockquote>
  
  <p>Any ideas how to escape it?</p>
  
  <p><strong>Update:</strong>
  The URL I am trying to use looks something like that (simplified but still causes the error):</p>
  
  <pre class="lang-none prettyprint-override"><code>http://otrs.server.url/otrs/json.pl?User=username&amp;Password=password&amp;Object=TicketObject&amp;Method=ArticleSend&amp;Data={"Subject":"[Ticket#100000] Test Ticket from OTRS"}
  </code></pre>