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
Explore default BSON serialization #16
Labels
enhancement
New feature or request
Projects
Comments
I'm not sure how worth or what are the correct data types in .NET for those so I'll leave them pending, If anyone ever wants them, they are very easy to implement |
AngelMunoz
added a commit
that referenced
this issue
Dec 7, 2020
these caveats have been addressed by #16
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's the possibility that we can just serialize known BSON values in the emitted JSON, as the MongoDB Extended Spec shows, we're kind of doing half work for ObjectIds so instead of just emitting the
"objectid"
we could be emitting{ $oid: "objectid" }
in the same way we could be doing the same for int64, dates, etcIdeally I'd like to use the canonical form when possible, but if there's not an option using the relaxed form should be enough
The text was updated successfully, but these errors were encountered: