Predictable mapping
Attributes use an @ prefix, repeated elements become arrays, and mixed text uses #text so information is not silently discarded.
Bounded and defensive
Input is limited to 10 MB, 100,000 XML nodes and 128 nesting levels. DTD and ENTITY declarations are rejected instead of resolving external or custom entities.