title: nesting too deep in JSON... should I switch to XML?
body: <p>I am getting a JSONException complaining about a very deep nesting (more than 30). I know that the value is hardcoded in JSONWriter. 
  what best can I do? use another library without this restriction if such thing exists? switch to XML?</p>
  
  <p><strong>UPDATE:</strong>
  I am serializing a labeled tree structure into JSON. So starting with root, each node is nesting its children which in turn nesting theirs...</p>
  
  <pre><code>{"type":"n1","links":[{"label":"l1","target":{"type":"n2","links":[{"label":"l2","target":{  ...}}]}}]}
  </code></pre>
  
  <p>I might have to rethink the way I am serializing my object structure.</p>
  
  <p><strong>UPDATE</strong>: I am using org.json</p>