Skip to content
This repository

The parser swallows the next parsed value after parsing a number. #63

Open
fd opened this Issue · 1 comment

2 participants

Simon Menke pkoppstein
Simon Menke
fd commented

When parsing a stream of JSON values the parser swallows the next parsed value after parsing a number.

I made gist with a spec (so you can replicate the behaviour:
https://gist.github.com/988743

pkoppstein

Multiple values can be swallowed, e.g.:

irb>> (Yajl::Parser.new).parse('1.0 2.0 3.0 4.0 5.0') {|x| p x}
1.0
=> nil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.