# Convert XML Array into Json format

**URL:** <https://community.postman.com/t/convert-xml-array-into-json-format/61711>\
**Category:** Help Hub\
**Tags:** variables\
**Created:** [May 31, 2024, 3:38pm UTC](https://community.postman.com/t/convert-xml-array-into-json-format/61711 "2024-05-31T15:38:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [May 31, 2024, 6:55pm UTC](https://community.postman.com/t/convert-xml-array-into-json-format/61711/2 "2024-05-31T18:55:01Z")

</div>

xml2js is available in the Sandbox.

Have a look at this topic for more information and examples.

> [@Occational warning that xml2Json is deptrecated](https://community.postman.com/t/occational-warning-that-xml2json-is-deptrecated/59745):
>
> We have been using xml2Json for a while. As of this week, we are getting ‘occasional’ console errors stating it has been deprecated and to use ‘require(‘xml2js’)’ instead. On doing this, the format that is created is not as we had before - I am sure there is something really simple we are missing This is from xml2Json [image] This is from xml2js [image] We obviously would like it to have remained the same so our tests do not need rework. Any assistance is appreciated.

---

_[View the full topic](https://community.postman.com/t/convert-xml-array-into-json-format/61711)._
