Added failing test for serializing an array containing an empty object
JsonSerializationVisitor now clones the root element
fixed DateTime issue and created tests
deserialization of named DateTime array from XML currently fails!
refactored element type extraction line to separate function
refactored tests to exclude deserializing XmlKeyValuePairs
changed serialization visitors to use getElementType in AbstractVisitor
add xmlAttributeMap to serialized values
Merge pull request #204 from colinfrei/patch-1

Add xmlAttributeMap to serialized values
runs tests against hhvm
Scrutinizer Auto-Fixes [skip Scrutinizer]

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/schmittjoh/serializer/inspections/0cda3d1a-f829-4c4a-8456-0b41e6fda549

Enabled analysis tools:
 - PHP Analyzer
 - PHP Mess Detector
 - PHP Copy/Paste Detector
 - PHP PDepend
Merge pull request #206 from schmittjoh/scrutinizer-patch-1

Scrutinizer Auto-Fixes
Merge pull request #104 from tyler-sommer/recursion-fix

Potential fix for "recursion detected" issue
Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/schmittjoh/serializer/inspections/018381c5-d5ff-41b5-8776-cc9ea77811ca

Enabled analysis tools:
 - PHP Analyzer
 - PHP Mess Detector
 - PHP Copy/Paste Detector
 - PHP PDepend
Merge pull request #210 from schmittjoh/scrutinizer-patch-1

Scrutinizer Auto-Fixes
Adds XML namespaces support
I forgot to serialize and unserialize the xmlPrefix value for virtual and static properties
Refactorization of XmlPrefix annotation to XmlAttribute and XmlElement
Test for an attribute with a namespace not registered at root element
More tests for xml namespaces related metadata
Test XmlNamespace annotations inheritance
Modifies the namespace prefix autogeneration so it can be predicted