Top level documents should be deserialized as stdClass by default

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Blocker - P1
    • 1.0.0-alpha1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hey - as discussed at the 2015-06-15 meeting:

      There was inconsistency issue with Hippo vs. Phongo regarding what type (stdClass or array) should be the top level type. We decided to made it consistent as what we already did for embedded documents, and make every document come back as a stdClass object. Type map should be changed to return top-level documents as stdClass.

            Assignee:
            Jeremy Mikola
            Reporter:
            Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: