Skip to content

jameshalsall/xml-to-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 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