Viewing a code_w_s object in the shell produces output like the following:
{ "_id" : ObjectId("589b894d5233185cfb49d642"), "document" : { "code" : "\u0011\u0000\u0000\u0000print('Hi!' + x)\u0000\f\u0000\u0000\u0000\u0010x\u0000\u0005\u0000\u0000\u0000\u0000\u0000\u00031", "scope" : { "x" : 5 } } }
- is duplicated by
-
SERVER-25973 BSON code with scope serializes corrupt data
- Closed