---
title: "Comment by Marcio Ordoñez on \"Transforming data: from JSON to XML and XML to JSON\" | Hashnode"
description: "Not working with Lists."
url: "https://hashnode.com/posts/transforming-data-from-json-to-xml-and-xml-to-json/5f69f65b1c935b2e4c615cca/comment/60b44621241c3d4add68b346"
---

[Discussion](https://hashnode.com/posts/transforming-data-from-json-to-xml-and-xml-to-json/5f69f65b1c935b2e4c615cca)

Comment [Transforming data: from JSON to XML and XML to JSON](https://hashnode.com/posts/transforming-data-from-json-to-xml-and-xml-to-json/5f69f65b1c935b2e4c615cca)

[Marcio Ordoñez](https://hashnode.com/@MarcioOrdonez)

[May 31, 2021](https://hashnode.com/posts/transforming-data-from-json-to-xml-and-xml-to-json/5f69f65b1c935b2e4c615cca/comment/60b44621241c3d4add68b346)

Not working with Lists.

[Markus Meyer](https://hashnode.com/@MarkusMeyer)

[May 31, 2021](https://hashnode.com/posts/transforming-data-from-json-to-xml-and-xml-to-json/5f69f65b1c935b2e4c615cca/comment/60b44621241c3d4add68b346#reply-60b4bb8ae2c01a517d6c4f24)

I updated the repository with a List:

```
  [XmlElement("children")]
  public List<Child> Children { get; set; }
```

It's working for JSON and XML
