Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
Question40791596 XML object-model-with-various-type-insid by dbc_MinLength
Deserialized and re-serialized Root`1[ContentA]
<?xml version="1.0" encoding="utf-16"?>
<root>
  <header>
    <elementA>Example</elementA>
    <elementB>Test</elementB>
  </header>
  <content>
    <elementC>foo</elementC>
    <variousTypeA>
      <itemA>Test</itemA>
      <itemB>Test</itemB>
      <itemC>Test</itemC>
    </variousTypeA>
  </content>
</root>
Deserialized and re-serialized Root`1[ContentB]
<?xml version="1.0" encoding="utf-16"?>
<root>
  <header>
    <elementA>Example</elementA>
    <elementB>Test</elementB>
  </header>
  <content>
    <elementC>foo</elementC>
    <variousTypeB>
      <itemZ>Test</itemZ>
      <itemY>Test</itemY>
      <itemX>Test</itemX>
    </variousTypeB>
  </content>
</root>
Cached Result
Last Run: 1:37:37 pm
Compile: 0.14s
Execute: 0.249s
Memory: 4.82Mb
CPU: 0.219s