craydent-xml-to-json
Version:
Node module to parse xml into json
5 lines (4 loc) • 400 B
TypeScript
import { AnyObject } from '../models/Generics';
export declare function __processChildren(name: String, children: Array<String>, xml: String, refs: any, ignoreAttributes?: boolean): AnyObject;
export declare function __processSiblings(xml: String, refs: any, ignoreAttributes?: boolean): AnyObject;
export default function xmlToJson(xml: String | XMLDocument, ignoreAttributes?: boolean): AnyObject;