Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

markwilson/xml-to-json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML to JSON converter

Basic XML to JSON conversion.

Usage:-

<?php

use MarkWilson\XmlToJson\XmlToJsonConverter;

$xml = new \SimpleXMLElement('<Element>Value</Element>');

$converter = new XmlToJsonConverter();
$json = $converter->convert($xml);

About

XML to JSON convert in PHP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%