Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
https://stackoverflow.com/questions/57964246/how-do-i-use-the-generated-jsonproperty-name-name-from-json-file-to-access-a-s by dbc_MinLength
Roslyn 2.0 Compiler; Environment version: 4.0.30319.42000


XDocument: 
<Response>
  <Inventory>
    <Id>23</Id>
  </Inventory>
  <Inventory>
    <Id>23</Id>
  </Inventory>
</Response>

Deserialized Response: 
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Inventory>
    <Id>23</Id>
  </Inventory>
  <Inventory>
    <Id>23</Id>
  </Inventory>
</Response>

Response constructed with one item: 
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Inventory>
    <Id>23</Id>
  </Inventory>
</Response>
Cached Result
Last Run: 1:45:53 pm
Compile: 0.177s
Execute: 0.395s
Memory: 3.42Mb
CPU: 0.422s