• Facebook
  • Skype
  • Mail
  • Linkedin
Providing Custom Business Apps since 2014
Bespoke Business Apps
  • Home
  • Development
  • Our Work
  • Our Story
  • Latest News
  • Free Consultation
  • Search
  • Menu
An XML Parser that converts XML into JSON on the FileMaker Pro Platform.

fm-xml2json

March 30, 2019/4 Comments/in fmapi /by StevenAdmin

An XML Parser that converts XML into JSON on the FileMaker Pro Platform.

As we delved into the world of REST APIs using FileMaker, we stumbled across an issue.

How do we handle XML responses?

When the REST response is a JSON object, we don’t have any issue and can make use of the JSON functions introduced in FileMaker 16 to manipulate that response as we need.

However, we found out during our development of fmapi-aws-s3 that REST APIs can respond in XML.

This was an issue and with any issue, solutions are born.

We present fm-xml2json.

A FileMaker script which when passed a valid XML string, will covert this string into a JSON object.

Download free over on Github.

Share this entry
  • Share on Facebook
  • Share on Twitter
  • Share on Google+
  • Share on Pinterest
  • Share on Linkedin
  • Share on Tumblr
  • Share on Vk
  • Share on Reddit
  • Share by Mail
4 replies
  1. Neil Nguyen
    Neil Nguyen says:
    June 28, 2020 at 9:53 am

    I’m a Filemaker developer, I want to learn more about the FileMaker.

    Reply
  2. menno
    menno says:
    December 3, 2021 at 2:53 pm

    Your script really works well! I am going to use it instead of plugins to read xpaths.

    To get the values from a json as script-variables, I have created a little custom function JSON2ScriptParameters ( json ; i ; namespace ). You can download a demofile at: https://www.filemakertips.nl/?ddownload=1367

    Thanks for sharing your script, really appreciated!

    Reply
  3. Takeshi Nakano
    Takeshi Nakano says:
    February 10, 2022 at 12:03 pm

    I will use this as a reference. Thank you very much. (Don’t listen to the sarcastic ones.)

    Reply
  4. Tkakeshi Nakano
    Tkakeshi Nakano says:
    February 10, 2022 at 12:11 pm

    I will use this as a reference.Thank you for making it public.

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • FileMaker Data API and Portal Filters
  • fm-csv2json
  • FileMaker Web Direct Clock
  • fm-mime-types
  • fm-xml2json

Recent Comments

  • Tkakeshi Nakano on fm-xml2json
  • Takeshi Nakano on fm-xml2json
  • menno on fm-xml2json
  • tuxun on fm-mime-types
  • Neil Nguyen on fm-xml2json

Archives

  • May 2019
  • April 2019
  • March 2019
  • June 2018

Categories

  • FileMaker
  • fmapi
  • News

Bespoke Business Apps

We provide Bespoke Business Apps tailored to how you run your business.

We utilise our highly specialised Certified FileMaker Developers to create elegant and efficient Business Apps that transform your business processes and fulfil your custom business needs.

Based around the Central Belt of Scotland, UK.

Head Office

Units 18/19
Waverley Street Industrial Estate
Bathgate
United Kingdom
EH48 4HY

Email Us!

Latest Work

  • Shift.online – Booking ScreenApril 3, 2020 - 12:04 am
  • MCR PathwaysMCR PathwaysMCR Pathways – Local Authority UpgradeMarch 6, 2018 - 5:55 pm
  • MCR PathwaysMCR PathwaysMCR PathwaysJuly 27, 2016 - 3:05 pm
  • Callum Innes StudioCallum Innes StudioCallum Innes StudioJune 27, 2016 - 3:03 pm
  • BusinessMan ERPComputech IT ServicesBusinessMan ERPApril 1, 2013 - 4:26 pm

Sitemap

  • Bespoke Business Apps
  • Development Process
  • Free Consultation
  • Latest News
  • Our Story
  • Our Work
  • Privacy Policy
©2018 WhiteSpace Systems. All rights reserved. - powered by Enfold WordPress Theme
  • Facebook
  • Skype
  • Mail
  • Linkedin
We’re LIVE! get-mime-types-with-filemaker fm-mime-types
Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

OKLearn more

Cookie and Privacy Settings

How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, you cannot refuse them without impacting how our site functions. You can block or delete them by changing your browser settings and force blocking all cookies on this website.

Other external services

We also use different external services like Google Webfonts, Google Maps and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Vimeo and Youtube video embeds:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Privacy Policy