Skip to content
Wizard Commerce

Wizard Commerce

Magento / Adobe Commerce Specialists

  • HOME
  • About Us
  • Services
  • Contact
  • Blog

Category: PHP

Posted on 27th Jan 2025

Convert XML to JSON with PHP

$xml = simplexml_load_string($xmlString, null, LIBXML_NOCDATA); $json = json_encode($xml);

Create a website or blog at WordPress.com
  • Subscribe Subscribed
    Wizard Commerce

    Have a WordPress.com account? Log in now.

  • Wizard Commerce
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar