3 ms·
Both ways still leave the structure ambiguous. Should <user> be mapped to an associative array of mixed objects, or to a fixed object using a custom mapper to s
by seanalltogether 12y ago
Both ways still leave the structure ambiguous. Should <user> be mapped to an associative array of mixed objects, or to a fixed object using a custom mapper to shove the account objects into their own sub array.
- treve 12y agoIf you're looking for a generalized way to map an XML structure to primitive types, you're going to have a bad time.