@novo-x/xml
v1.0.7
Published
Xml core
Downloads
4
Readme
XML Service
Available methods
- convertJsonToXml: converts json to xml object
- convertXmlToJson: converts xml to json object
Usage examples
yarn add @novo-x/xml
import {XmlService} from "@novo-x/xml"
const MyService = new XmlService(
builderConfig,
parserConfig
);
const xml = MyService.convertJsonToXml(json);
const json = MyService.convertXmlToJson(xml, config);