If i get it is it an invalid json so we should blow up. The passed stream
should handle a placeholder the parser can read if desired.

Le 15 nov. 2017 19:32, "Mark Struberg" <[email protected]> a écrit :

> Hi!
>
> Sometimes we need to parse an empty file containing a JSON. Or some JSON
> object is optional and thus empty.
>
> Currently we blow up with a non-expected char \u0000 (EOF)
> But one doesn't know whether this was at the beginning or somewhere in the
> middle of the stream.
>
> How do we intend to handle this best?
>
> LieGrue,
> strub

Reply via email to