title: Spring MVC - json string is truncated to 500 characters
body: <p>I would like to send image encoded in base64 format in json. The problem is that the string has more than 3k chars, it is automatically truncated to 500 chars.  and the trailing ellipsis appeared in this string.</p>
  
  <pre><code>...     
  "image64": "/9j/4AAQSkZJRgABAgAAAQABAAD/7QCEUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGccAigAYkZCTUQwMTAwMGFhNzAzMDAwMDZhMDQwMDAwNWIwNTAwMDBhMzA1MDAwMGZhMDUwMDAwMWYwNzAwMDAyYTA4MDAwMDZmMDgwMDAwYjIwODAwMDAwNDA5MDAwMGM3MGEwMDAwAP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfcAAEAGQADACkAOWFjc3BBUFBMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD21gABAAAAANMtbGNtcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACmRlc2MAAAD8AAAAXmNwcnQAAAFcAAAAC3d0cHQAAAFoAAAAFGJrcHQAAAF8AAAAFHJYWVoAAAGQAAAAFGdYWVoAAAGkA...",
  ...
  </code></pre>
  
  <p>My method is annotated with @ResponseBody. When I am trying to debug at the last line of my method I get the full string in response (more than 3k chars).</p>
  
  <pre><code>@ResponseBody
  @RequestMapping(value = "/get", method = RequestMethod.GET, produces = "application/json")
  public MyResponse getResponse(HttpServletRequest request) throws CMSItemNotFoundException
  {
      ...
      return response;
  }
  </code></pre>
  
  <p>I've made a quick test using jQuery...</p>
  
  <pre><code>$.get("http://.../get", function(data) {
      console.log(data.image64.length);
  });
  </code></pre>
  
  <p>... and I've got 500 in my console</p>
  
  <p>Can anybody help on this issue?</p>
  
  <p>Thanks in advance.</p>