# Converting Xml to JSON on iOS

**URL:** <https://forum.xojo.com/t/converting-xml-to-json-on-ios/31953>\
**Category:** iOS\
**Created:** [June 14, 2016, 4:25am UTC](https://forum.xojo.com/t/converting-xml-to-json-on-ios/31953 "2016-06-14T04:25:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OEZGUER\_AYTEKIN](https://forum.xojo.com/letter_avatar_proxy/v4/letter/o/4491bb/32.png) [@OEZGUER\_AYTEKIN](https://forum.xojo.com/u/OEZGUER_AYTEKIN)\
**Post date:** [June 14, 2016, 4:25am UTC](https://forum.xojo.com/t/converting-xml-to-json-on-ios/31953/1 "2016-06-14T04:25:09Z")

</div>

Dear Forum members,

my next challenge after soap web services is the converting my xml document to JSON.

My data providers SOAP WebServices responds only “xml”. It was not possible for me to process the xml document (soap response).

Now, I want to convert the xml document to JSON, because I think JSON is easier to handle on iOS with Xojo.

Can any one help to me, how I can convert xml to JSON on iOS with Xojo?

Beste regards,  
zgr Aytekin

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [June 14, 2016, 7:14am UTC](https://forum.xojo.com/t/converting-xml-to-json-on-ios/31953/2 "2016-06-14T07:14:54Z")

</div>

You’d have to do it manually.

Keep in mind that because JSON only supports Booleans, Strings, Numbers, NULLs and other JSON objects, you may not be able to represent everything you can do in XML. For instance, XML can represent different text encodings, whereas JSON is just UTF8.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 6:21pm UTC](https://forum.xojo.com/t/converting-xml-to-json-on-ios/31953/3 "2020-10-29T18:21:33Z")

</div>


