jdegoes/blueeyes — pull request #115 by non (2013-04-19 15:43:34+00:00)
Title: Add failFast option to AsyncParser.

Previously, an AsyncParser would try to accumulate as many parse
errors as possible using a newline-based error recovery strategy.
This change introduces a failFast Boolean constructor parameter.

When true, an async parsing result will return at most one error,
and no further parsing attempt will be made. When false, the
previous behavior will be used.

Note that the error-recovery is only intended to help users quickly
diagnose and fix bad JSON. The results when using error-recovery
are not well-defined unless users delimit their records with
literal newlines (and do not use literal newlines anywhere else).