Quantcast
Channel: Serialization of objects - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Renatas M. for Serialization of objects

$
0
0

I think the simplest way if you have xml sample and dont know how to write class, is to use xsd.exe tool to generate classes.

  • First extract shema using commandxsd.exe your.xml
  • Second generateclasses from generated schema usingcommand xsd.exe your.xsd /classes

Its very helpfull when you have big xml schema and dont want to spend many time to write classes for serialization.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>