Does unity support DataContractSerializer's?

My question is in my title, does unity currently support the use for a DataContractSerializer, cause im in need of using one.

Data Contract Serializer Microsoft Page : DataContractSerializer Class (System.Runtime.Serialization) | Microsoft Learn

Drag and drop the System.Runtime.Serialization.dll into your project assets and it will be referenced in your script project. Also make sure that you have changed the Project Settings > Player > Optimization Api Compatibility Level to .Net 2.0, just in case.