MCPcopy Create free account
hub / github.com/triggerdotdev/jsonhero-web / createFromRawXml

Function createFromRawXml

app/utilities/xml/createFromRawXml.ts:8–15  ·  view source on GitHub ↗
(
  filename: string,
  contents: string,
  options?: CreateJsonOptions
)

Source from the content-addressed store, hash-verified

6import convertFromRawXml from "./convertFromRawXml";
7
8export default async function createFromRawXml(
9 filename: string,
10 contents: string,
11 options?: CreateJsonOptions
12): Promise<JSONDocument> {
13 const jsonString: string = convertFromRawXml(contents);
14 return createFromRawJson(filename, jsonString, options);
15}

Callers 1

createFromUrlOrRawJsonFunction · 0.85

Calls 2

createFromRawJsonFunction · 0.90
convertFromRawXmlFunction · 0.85

Tested by

no test coverage detected