Skip to content

Commit

Permalink
Update guide to reflect that bson string methods are cannonical (#1916)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez authored Jan 8, 2025
1 parent a9eddec commit b307d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/migration-2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ The `bson/primitive` package has been merged into the `bson` package.
Additionally, the `bson.D` has implemented the `json.Marshaler` and `json.Unmarshaler` interfaces, where it uses a key-value representation in "regular" (i.e. non-Extended) JSON.
The `bson.D.String` and `bson.M.String` methods return a relaxed Extended JSON representation of the document.
The `bson.D.String` and `bson.M.String` methods return an Extended JSON representation of the document.
```go
// v2
Expand Down

0 comments on commit b307d49

Please sign in to comment.