Implement BSON serialization for classes

XMLWordPrintableJSON

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

      When BSON encoding a class that implements the interface outlined in PHP-1069, the class name should be injected into the document in a reserved field (e.g. _phpClass). When decoding a BSON document, we should check for this field and convert the document to a class instance instead of a PHP array or stdClass instance.

            Assignee:
            Hannes Magnusson (Inactive)
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: