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

IteratorExt -like trait to put FilterKeyValue capabilities onto Iterator<Item=Token> #3

Closed
Byron opened this issue May 8, 2015 · 1 comment

Comments

@Byron
Copy link
Owner

Byron commented May 8, 2015

The last time I tried, this didn't work for me as I couldn't figure out the right syntax for some reason. Maybe stackoverflow can help ?

This would allow something like:

println!("{}", Lexer::new(r#"{"v":null}"#.bytes(), BufferType::Span)
                               .filter_key_value_by_type(TokenType::Null)
                               .reader()
                               .collect::<String>())
// prints "{}"
@Byron Byron closed this as completed in 15dc5c5 May 9, 2015
@Byron
Copy link
Owner Author

Byron commented May 9, 2015

You can watch the development stream on youtube

thumb

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