tibi-docs/docs/md/server-javascript-kontext/packages/xml.md

22 lines
357 B
Markdown
Raw Normal View History

2023-06-03 20:07:58 +02:00
## xml
```ts
interface XmlPackage {
/**
* create xml string
*
* @param data object or array
* @param options options
*/
create(data: any, options?: {}): string
/**
* parse xml string to json
*
* @param xml xml string
* @param options options
*/
parse(xml: string, options?: {}): any
}
```