Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does the Mapper activity decide which serializer to use?

0
Posted

How does the Mapper activity decide which serializer to use?

0

The Mapper activity decides to use the XmlSerializer only if the type is annotated with the XmlType or XmlRoot attributes. If the activity is an array type, the attribute check will be performed on the array element type as well. In all other cases, DataContractSerializer is used. Note When creating a map it is possible to use Advanced Options to change the “Serializer to use for Input” and the “Serializer to use for Result” from Auto to DataContractSerializer or XMLSerializer. Manually setting the serializer is not recommended however and extreme caution should be exercised when doing this because specifying the wrong serializer will cause serialization to fail at runtime.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123