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

Support serialization to Mongo extended JSON format

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0
    • Component/s: None
    • Labels:
      None
    • # Replies:
      11
    • Last comment by Customer:
      false

      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

            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                5 years, 14 weeks, 6 days ago
                Date of 1st Reply: