Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/GitbookIO/gitbook
/ json2xml
Function
json2xml
packages/react-openapi/src/json2xml.ts:6–8 ·
view source on GitHub ↗
(data: Record<string, any>)
Source
from the content-addressed store, hash-verified
4
* This
function
converts an object to XML.
5
*/
6
export
function
json2xml(data: Record<string, any>) {
7
return
jsXml.toXmlString(data, { beautify: true });
8
}
Callers
3
convertBodyToXML
Function · 0.90
json2xml.test.ts
File · 0.90
stringifyExample
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected