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

JSON.parse() return type

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.5.1
    • 2.5
    • API
    • None
    • Fully Compatible

    Description

      According to the JavaDoc, JSON.parse() parses a JSON string into a DBObject. Its return type should be DBObject instead of Object. Would save a type cast in application programs.

      Attachments

        Activity

          People

            antoine Antoine Girbal
            yvsong Victor Song
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: