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

Support serialization to Mongo extended JSON format

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

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

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

              Created:
              Updated:
              Resolved: