question: private void errorsToJson ( Errors errors , PrintWriter writer ) { final StringBuilder result = new StringBuilder ( ) ; errorsToJson ( errors , result ) ; writer . print ( result . toString ( ) ) ; }
target:  Helper method. Converts `errors` to JSON. 