Core APIs
JSON
Convert XML to JSON
1 min
converts an xml text to json api definition { "tab" "examples", "url" "https //orca pathfix com/functions/json/fromxml", "name" "xml to json", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" {\n \\"document\\" {\n \\"record\\" \[\n {\n \\"email\\" \\"bruce\@pathfix com\\",\n \\"source\\" \\"facebook\\",\n \\"other\\" \\"test\\",\n \\"date\\" \\"2022 01 25\\"\n },\n {\n \\"email\\" \\"paul\@pathfix com\\",\n \\"source\\" \\"facebook\\",\n \\"date\\" \\"2022 02 12\\"\n },\n {\n \\"email\\" \\"chang\@pathfix com\\",\n \\"source\\" \\"linkedin\\",\n \\"date\\" \\"2022 02 15\\"\n }\n ]\n }\n },\n \\"size in bytes\\" 602 0\n}", "language" "200" }, { "id" "yix64dyiudpjgbrfsfawb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "28usdqyeh3qrdmtvamsqt" }, "examples" { "languages" \[ { "id" "encjz9tstg38f0x taa4x", "code" "{\r\n \\"input\\" \\"\<document>\<record>\<email>bruce\@pathfix com\</email>\<source>facebook\</source>\<other>test\</other>\<date>2022 01 25\</date>\</record>\<record>\<email>paul\@pathfix com\</email>\<source>facebook\</source>\<date>2022 02 12\</date>\</record>\<record>\<email>chang\@pathfix com\</email>\<source>linkedin\</source>\<date>2022 02 15\</date>\</record>\</document>\\"\r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }