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

Support bson(io::IO; kws...) #130

Open
NeroBlackstone opened this issue May 4, 2024 · 1 comment
Open

Support bson(io::IO; kws...) #130

NeroBlackstone opened this issue May 4, 2024 · 1 comment

Comments

@NeroBlackstone
Copy link

Is there a way to input serialized BSON into arbitrary IO like IOBuffer()?
Or is there a similar solution? please tell me thanks!

@NeroBlackstone
Copy link
Author

NeroBlackstone commented May 4, 2024

I know, a workaround is convert kws... to Dict{Symbol, Any} by Dict(kws) and invoke bson(io::IO, doc::AbstractDict).

Do you think it makes sense to implement a function like bson(io::IO; kws...)? I can open a PR

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