Allow ->setTypeMap() to set 'array' and 'stdclass'

XMLWordPrintableJSON

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

      Currently you can only use object instanceof BSON\Unserializable.

      We need to be able to set to standard 'array's too, so we can get bson documents as PHP arrays.

      And we need to allow passing 'stdclass' as that is the default value for bson documents.

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

              Created:
              Updated:
              Resolved: