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

MongoDB Extended JSON format for Code and CodeWScope is undocumented

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

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

      The format looks like this:

      {"$code":"func(){return 1;}"}
      {"$code":"func(){return 1;}","$scope":{"foo":"bar"}}
      

      Attachments

        Activity

          People

            jonathan.destefano@mongodb.com Jonathan DeStefano
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 35 weeks ago