[DOCS-8119] Document "Code" BSON type's extended JSON representation Created: 16/Jun/16  Updated: 11/Jan/17  Resolved: 17/Jun/16

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Jonathan DeStefano
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates DOCS-8113 MongoDB Extended JSON format for Code... Closed
Related
related to CDRIVER-1335 libbson does not properly serialize t... Closed
Participants:
Days since reply: 7 years, 29 weeks ago

 Description   

On the Extended JSON page:

https://docs.mongodb.com/manual/reference/mongodb-extended-json/

Document that the BSON "Code" type is represented like:

{"$code": "... javascript ... "}

With optional scope:

{"$code": "... javascript ... ",
 "$scope": {"variable1": "value1", "variable2": "value2"}
}



 Comments   
Comment by Emily Hall [ 27/Jul/16 ]

Closed for housekeeping on 7/27/2016 by Emily Hall.
If you require additional support, please open a new ticket for prioritization.
Thanks,
Emily

Generated at Thu Feb 08 07:55:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.