JSON.jl
JSON.jl copied to clipboard
Add eof check for streaming parser
Summary
Adds an end of file check to the streaming parser.
Motivation
# This works
JSON.parse("123")
# This also works
JSON.parse(IOBuffer("123\n"))
# This currently breaks
JSON.parse(IOBuffer("123"))
Fixes #314
Is this issue resolved? I also got an error that seems to be related to this one:
Unexpected end of input │ ...when parsing byte with value '0'