Skip to content
New issue

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

Using json-rust as a parser driver without building values #143

Open
Yoric opened this issue Mar 17, 2018 · 1 comment
Open

Using json-rust as a parser driver without building values #143

Yoric opened this issue Mar 17, 2018 · 1 comment

Comments

@Yoric
Copy link
Contributor

Yoric commented Mar 17, 2018

I'm currently using json-rust to parse pretty large JSON files (hundreds of Mb). Unsurprisingly, this eventually blows up the stack. Now, as it turns out, I immediately convert the format from JSON to something else, so if this crate could provide a way to go straight to my destination format without having to first go through JSON values, that would probably save time and space.

@Yoric
Copy link
Contributor Author

Yoric commented Mar 17, 2018

The code of parser.rs makes me think that this would not be impossible. We "just" need to make separate Parser.parse and StackBlock more modular.

I'll see if I can find time to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant