XML into JSON

Hi all!

i’m building a website for a real estate company and what i need to do is to take their properties which are already listed here at www.bayut.com and bring on the Wix Site.

bayut.com uses a software called ”goMasterKey” which lets agencies upload their properites and automatically display into the bayut website.

so what i did was to contact ”goMasterKey” and ask for some info. they told me that if i want to display the properties on the new Wix Site they would give me their API key. so they did but i received the API key and the documents in XML format.

does anybody know how can I import this XML into Wix or how to convert into a JSON format?

basically what i need to do for them is to work with the API key, so whenever they upload a
property on Bayut.com , this will
be featured automatically into the Wix Site.

thank you

1 Like

Any update for the website A lessuae ? I am facing the same problem as yours, so please kindly share your solution if you found one.

Ps. the website looks great!!

Thank you

Hi guys!

Unfortunately Wix Code does not support in parsing XML files at the moment.
The option you have is to manually import the files to your database as described here:


Or try to find and use a reliable converter from the web that takes XML files and provides a JSON file.
For that option you’ll need to embed the code in the backend and fetch the info from the 3rd-party site.

Hope it helps!
Best of luck!

Doron. :slight_smile:

@alessuae

You can use this solution:


https://www.wix.com/velo/forum/tips-tutorials-examples/parsing-xml-data-structures-with-velo?appSectionParams=%7B%22origin%22%3A%22member_posts_page%22%7D

This solution takes XML structures and transforms them into JSON objects

I would also like to build a Wix website for a Real Estate company.