Skip to content

Commit b307d49

Browse files
Update guide to reflect that bson string methods are cannonical (#1916)
1 parent a9eddec commit b307d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/migration-2.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ The `bson/primitive` package has been merged into the `bson` package.
844844
845845
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.
846846
847-
The `bson.D.String` and `bson.M.String` methods return a relaxed Extended JSON representation of the document.
847+
The `bson.D.String` and `bson.M.String` methods return an Extended JSON representation of the document.
848848
849849
```go
850850
// v2

0 commit comments

Comments
 (0)