Skip to content

Commit 6d9503e

Browse files
DOCSP-13806: add note about $uuid parsing in extended json (#62)
DOCSP-13806: add note about $uuid parsing in extended json Co-authored-by: Nathan <[email protected]>
1 parent 6fbd5f7 commit 6d9503e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/fundamentals/data-formats/document-data-format-extended-json.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@ See the table below to see a description of each format:
7070

7171
.. _extended_json_example_section:
7272

73+
.. note::
74+
75+
The ``$uuid`` Extended JSON type is parsed from a String to a
76+
:java-docs:`BsonBinary </apidocs/bson/org/bson/BsonBinary.html#<init>(java.util.UUID)>`
77+
object of binary subtype 4. For more information about ``$uuid`` field
78+
parsing, see the
79+
:spec:`special rules for parsing $uuid fields </extended-json.rst#special-rules-for-parsing-uuid-fields>`
80+
section in the extended JSON specification.
81+
82+
7383
For more detailed information on these formats, see the
7484
`Extended JSON specification <https://github.com/mongodb/specifications/blob/master/source/extended-json.rst>`__.
7585

0 commit comments

Comments
 (0)