markwilson / xml-to-json
Installs: 33 472
Dependents: 1
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 2
Open Issues: 0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2021-01-23 09:27:19 UTC
README
Basic XML to JSON conversion.
Usage:-
<?php use MarkWilson\XmlToJson\XmlToJsonConverter; $xml = new \SimpleXMLElement('<Element>Value</Element>'); $converter = new XmlToJsonConverter(); $json = $converter->convert($xml);