We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First off, wonderful module, thank you for your work!
I'm wondering if the C code nature of this module makes it too low level to work with compressed stream objects?
With the latest version of your code I try
def parser(file): with bz2.open(file, 'rb') as bzfh: for jstonstr in splitfile(bzfh, format="json"): print(jsonstr) yield json.loads(jsonstr)
When I run it, I would expect jsonstr to be a string of one complete JSON statement {...} , but it looks like it the compressed stream of data?
jsonstr
{...}
I'm was hoping to open bz2 compressed compact JSON files with many records back to back {..}{..}{..}{..} and process them.
{..}{..}{..}{..}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
First off, wonderful module, thank you for your work!
I'm wondering if the C code nature of this module makes it too low level to work with compressed stream objects?
With the latest version of your code I try
When I run it, I would expect
jsonstr
to be a string of one complete JSON statement{...}
, but it looks like it the compressed stream of data?I'm was hoping to open bz2 compressed compact JSON files with many records back to back
{..}{..}{..}{..}
and process them.The text was updated successfully, but these errors were encountered: