Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-117

Simplify bson deserialization code

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.1.4
    • Affects Version/s: None
    • Component/s: None
    • None

      Currently the visitors all contain:

      if (parent is array) {
          add_assoc_xxx()
      else if (parent is object) {
          add_property_xxx()
      }
      

      Thats annoying and ugly and should be simplified.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: