-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add MarshalJSON
methods to *Document
/ *Array
#49
Labels
code/feature
Some user-visible feature is not implemented yet
Comments
MarshalJSON
methodsMarshalJSON
methods to *Document
/ *Array
if no one is working on it, I can pick this up!! |
The only thing that is left is to update test cases: Lines 948 to 952 in e3aefb9
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Blocked by https://jira.mongodb.org/browse/GODRIVER-3476. After that is resolved, we should re-enable fuzzing; see references to this issue.
In some cases, we need JSON representation of Document/Array, not JSON-like like we currently have. For example, extension functions accept BSON or JSON, and logging their parameters in JSON would make it easier to copy and paste them from logs to the
psql
console.Let's implement
encoding/json.Marshaler
on*Document
and*Array
.Let's do the basic JSON for now, but document the fact that the exact JSON representation may change. For example, we might use Extended JSON v2 in the future.
The text was updated successfully, but these errors were encountered: