Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5243

Add HexData to shell mode extended json

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • 01112017-cleanup
    • None
    • manual
    • None

    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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 43 weeks, 5 days ago