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

JSON.parse() return type

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.5.1
    • Affects Version/s: 2.5
    • Component/s: API
    • Labels:
      None
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: