Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-488

Support serialization to Mongo extended JSON format

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.8.0
    • None
    • None
    • None

    Description

      Provide full support for serialization to http://www.mongodb.org/display/DOCS/Mongo+Extended+JSON. This can be useful for REST interfaces or other tools that use the java driver.

      So as not to break existing applications that rely on the current behavior, the output of the com.mongodb.util.JSON.serialize method will not be changed. Instead, use the following:

      com.mongodb.util.JSONSerializers.getStrict().serialize(...)

      Attachments

        Activity

          People

            bryan.reinero Bryan Reinero
            antoine Antoine Girbal
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: