title: JSON-lib escaping / preserving strings
body: <p>I am using JSON-lib library for java <a href="http://json-lib.sourceforge.net" rel="nofollow">http://json-lib.sourceforge.net</a></p>
  
  <p>I just want to add simple string which can look like JSON (but i do not want library to automatically figure out that it might be json and just to treat it as string). Looking into source of library I can't find the way to do it without ugly hacks.</p>
  
  <p>example:</p>
  
  <pre><code>JSONObject object = new JSONObject();
  String chatMessageFromUser = "{\"dont\":\"treat it as json\"}";
  object.put("myString", chatMessageFromUser);
  </code></pre>
  
  <p><code>object.toString()</code> will give us <code>{"myString":{"dont":"treat it as json"}}</code></p>
  
  <p>and i want just to have <code>{"myString":"{\"dont\":\"treat it as json\"}"}</code></p>
  
  <p>How to achieve it without modifying source code ? I am using this piece of code as transport for chat messages from users - so it works OK for normal chat messages, but when user will enter JSON format as message it will break it because of default behavior of JSON-lib described here.</p>