Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1070

Simplify mongoimport's JSON array support

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      New in 1.5, Golang's JSON decoder type has a new method that provides a streaming interface for decoding a JSON document: Token. It also interoperates with the existing functionality of Decode, which will continue a decode operation already started with Decoder.Token. - see example at https://golang.org/pkg/encoding/json/#Decoder.Decode

      The added Token function will allow us to read and validate opening and closing brackets for JSON arrays. This will eliminate the need for the separatorReader in mongoimport.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adinoyi.omuya@mongodb.com Adinoyi Omuya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: