[DOCS-5243] Add HexData to shell mode extended json Created: 18/Apr/15  Updated: 11/Jan/17  Resolved: 27/Jul/16

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

Type: Improvement Priority: Minor - P4
Reporter: Kevin Pulo Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 8 years, 43 weeks, 5 days ago

 Description   

The Binary data section of the Extended JSON page lists BinData(t, "base64str") as the mongo Shell Mode representation of binary BSON data.

However, the mongo Shell will also accept HexData(t, "hexstr") as a way of creating binary data from a hex-encoded string, rather than from a base64-encoded string.

Therefore it would be useful to add this as an acceptable representation for shell mode (to help avoid unnecessary conversions to/from base64).


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