I'm working on a Xamarin C# solution where I need to store data in xml format. In the first time I thought about writing manually a C# to XML and XML to C# method but my object has more than 100 attributes.
So I was wondering about using .NET DataContractSerializer to store them, while keeping references between the object. This seem like the best solution but I was wondering about the compatibility of this xml file with other languages.
If I want for example to parse it from JS or Java, will the XML parser in these languages be able to read it ? Since the way of storing is different I'm pretty sure it will not work natively. Will I be obliged again to write a custom deserialization method or is there a better way in C# to keep compatibility ?