{"id":10094,"date":"2022-03-16T11:36:16","date_gmt":"2022-03-16T18:36:16","guid":{"rendered":"https:\/\/minisoft.com\/support\/?p=10094"},"modified":"2022-03-16T11:36:17","modified_gmt":"2022-03-16T18:36:17","slug":"convert-json-to-xml-using-the-json-preprocessor","status":"publish","type":"post","link":"https:\/\/minisoft.com\/support\/convert-json-to-xml-using-the-json-preprocessor\/","title":{"rendered":"Convert JSON to XML using the JSON Preprocessor"},"content":{"rendered":"\n<p>NOTE: View the following tutorial: <a href=\"https:\/\/vimeopro.com\/user39510018\/minisoft-support\/video\/686417060\">https:\/\/vimeopro.com\/user39510018\/minisoft-support\/video\/686417060<\/a><\/p>\n\n\n\n<p>NOTE 2: Consult the following post for more information: <a href=\"\/support\/index.php\/processing-json-data-in-eformz-projects\/\">Processing JSON Data in eFORMz Projects<\/a><\/p>\n\n\n\n<p>To convert a JSON file to XML, open a JSON file in the eFORMz Composer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML1.png\"><img decoding=\"async\" loading=\"lazy\" width=\"504\" height=\"359\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML1.png\" alt=\"\" class=\"wp-image-10096\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML1.png 504w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML1-300x214.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML1-150x107.png 150w\" sizes=\"(max-width: 504px) 100vw, 504px\" \/><\/a><\/figure>\n\n\n\n<p>The JSON file will display in the Viewer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML2.png\"><img decoding=\"async\" loading=\"lazy\" width=\"493\" height=\"369\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML2.png\" alt=\"\" class=\"wp-image-10097\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML2.png 493w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML2-300x225.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML2-150x112.png 150w\" sizes=\"(max-width: 493px) 100vw, 493px\" \/><\/a><\/figure>\n\n\n\n<p>Right-click the project and select Add Preprocessor > JSONPreprocessor. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML3.png\"><img decoding=\"async\" loading=\"lazy\" width=\"450\" height=\"461\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML3.png\" alt=\"\" class=\"wp-image-10098\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML3.png 450w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML3-293x300.png 293w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML3-146x150.png 146w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/a><\/figure>\n\n\n\n<p>From the JSON Preprocessor Properties dialog, enter a root value for the XML Root and select the appropriate character set (ISO-8859-1, for example). <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML4.png\"><img decoding=\"async\" loading=\"lazy\" width=\"567\" height=\"117\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML4.png\" alt=\"\" class=\"wp-image-10099\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML4.png 567w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML4-300x62.png 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML4-150x31.png 150w\" sizes=\"(max-width: 567px) 100vw, 567px\" \/><\/a><\/figure>\n\n\n\n<p>The JSON will convert to XML.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML5.png\"><img decoding=\"async\" loading=\"lazy\" width=\"458\" height=\"486\" src=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML5.png\" alt=\"\" class=\"wp-image-10100\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML5.png 458w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML5-283x300.png 283w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2022\/03\/JSON2XML5-141x150.png 141w\" sizes=\"(max-width: 458px) 100vw, 458px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>NOTE: View the following tutorial: https:\/\/vimeopro.com\/user39510018\/minisoft-support\/video\/686417060 NOTE 2: Consult the following post for more information: Processing JSON Data in eFORMz Projects To convert a JSON file to XML, open a JSON file in the eFORMz Composer. The JSON file will display in the Viewer. Right-click the project and select Add Preprocessor > JSONPreprocessor. From the [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[774,523,132],"_links":{"self":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/10094"}],"collection":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=10094"}],"version-history":[{"count":1,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/10094\/revisions"}],"predecessor-version":[{"id":10101,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/10094\/revisions\/10101"}],"wp:attachment":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=10094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=10094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=10094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}