How To convert XML to JSON

Hi!

I need to convert xml to json and i don’t know the content of xml…

Any help will be very usefull!

Alex

do you have a dtd for the XML ?

There’s a Xojo class in the open source “TemperAPI” project ( https://temperapi.com ) that might be of help to you. I use it to convert both XML and SOAP. It’s not perfect, but most of the time it works for me.

The class is named “XMLConverter” and you can find it in the “XFM” module.

I hope it helps.

  • Tim