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

Change JSON encoder to support Iterable instead of Collection

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2
    • Affects Version/s: 2.1
    • Component/s: None
    • None
    • Environment:
      Any

      JSON.java currently encodes Collection of other objects. Since all it does it loop through the instances, it would be simpler (and easier to feed items into the JSON encoder) if this was Iterable instead.

        1. mongo.patch
          0.9 kB
          Norman Elton

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            normelton Norman Elton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: