title: Maximum as3 adobe JSON string length
body: <p>I've written Socket Communication server with Java and a AIR programm with AS3, using Socket connection.
  The communication through socket connection is done with JSON serialization.</p>
  
  <p>Sometimes with really long JSON strungs over socket, AS3 code says that there is a JSON parse error.</p>
  
  <p>Each JSON string I end with <strong><em>end</em></strong> string to let programm know, that it is not the end of the message, so this is not the problem with AIR programm reading the message in parts.</p>
  
  <p>The error occurs only with realy long json string, for example, string with 78031 length. Is there any limits for JSON serialization?</p>