Is there any way to convert xml string to json within app?

I have searched on community but not found the result. Does anybody knows any extension or any idea to convert xml to json string ?

Thankyou in advance.

I found an api for it. https://api.factmaven.com/xml-to-json/?xml=

you can even try this com.AK_Tech.XmlToJson.aix (32.7 KB)
i think this will work offline

Very Thankyou to you…
I also have tried something like that :
image

But its not working. :sweat_smile:
Can you send me the source code @luv.ak.tech

first can you try my extension i am not sure it works

Same error as the extension i made ,

1 Like

pls wait i will see it after 3 hours bc i have my exams

No problem . Thankyou for the time . :blush:

1 Like

well is there any problem with your xml string
try this demo string - <?xml version=\"1.0\" ?><test attribute=“text1”>javatpoint<test attribute=“text2”>JTP

I dont think so , I tried it using api and its working but
Its not working when i tried it using the extension.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.