{"id":309,"date":"2024-11-18T21:25:03","date_gmt":"2024-11-18T20:25:03","guid":{"rendered":"https:\/\/jsoning.com\/?page_id=309"},"modified":"2024-11-18T22:21:59","modified_gmt":"2024-11-18T21:21:59","slug":"merger","status":"publish","type":"page","link":"https:\/\/jsoning.com\/merger\/","title":{"rendered":"JSON Merger"},"content":{"rendered":"\n<style>\n#main {\n    padding: 4px 0 10px 0;\n}\n    pre {\n      background-color: #f5f5f5;\n      padding: 10px;\n      border: 1px solid #ccc;\n      white-space: pre-wrap; \/* Preserve newlines *\/\n      font-family: monospace;\n    }\n\t.CodeMirror-scroll {\n\t\tmin-height:300px;\n\t\tmax-height:300px;\n\t}\n\t.json_diff_color_1 {\n\t\tbackground-color:#ffff66;\n\t}\n\t.json_diff_color_2 {\n\t\tbackground-color:#ffd11a;\n\t}\n\t.hidden {\n\t\tdisplay: none;\n\t}\n\t.json_diff_color_3 {\n\t\tbackground-color:#ff8080;\n\t}\n\t.editor-title {\n\t\tfont-size: 1em;\n\t}\n\t.text-compare-select-top {\n\t\tborder-left: 2px solid gray;\n\t\tborder-right: 2px solid gray;\n\t\tborder-top: 2px solid gray;\n\t}\n\t.text-compare-select-bottom {\n\t\tborder-left: 2px solid gray;\n\t\tborder-right: 2px solid gray;\n\t\tborder-bottom: 2px solid gray;\n\t}\n\t.text-compare-select-middle {\n\t\tborder-left: 2px solid gray;\n\t\tborder-right: 2px solid gray;\n\t}\n.container-center { text-align: center; }\n\t.action-button-editor-compare {\n\t\tfloat:none;\n\t\tbackground-color:#4DAF52;\n\t\tpadding: 12px 15px;\n\t\tfont-size: 2em;\n\t\tcolor:white;\n\n\t}\n\t.yaml-diff-adsleft {\n\tmax-height: 200px;\n\t}\ninput[type=\"button\"] {margin-right: 10px;}\n.right {float:right;}\n.column-double {width:46%; margin-left:2%; display:inline-block; }\n.row-container {border: 1px solid gray;}\n.container-response{padding: 25px;}\n<\/style>\n\n<div class=\"flex-container\">\n\t<div class=\"body\">\n\t\t<div style=\"text-align:center;\">\n\t\t\t<!-- rectangle-fixe -->\n\t\t<\/div>\n\t\t<div>\n\t\t\t<input type=\"file\" id=\"file-input-text\" class=\"hidden\"  \/>\n\t\t\t<input type=\"file\" id=\"file-input-text-2\" class=\"hidden\"  \/>\n\t\t<\/div>\n\t\t<div id=\"dropZone\" class=\"column-double span\">\n\t\t\t<br\/><input type=\"button\" class=\"action-button-editor right span\" value=\"Browse JSON file\" onClick=\"document.getElementById('file-input-text').click();\" \/>\n\t\t\t\n\t\t\t<br\/>\n\t\t\t<br\/><div class=\"row-container editor-container\" style=\"clear:both;\">\n\t\t\t\t\t\t<textarea id=\"editor-container-text\" class=\"editor\">{\n  \"website\": {\n    \"name\": \"JSON Merge tool\",\n    \"url\": \"https:\/\/jsoning.com\/merger\/\"\n  }\n}\n<\/textarea>\n\t\t\t<\/div>\n\t\t\t<div id=\"editor-error1\" style=\"display:none;\" class=\"editor-error\"><\/div>\n\t\t\t<div id=\"editor-valid1\" style=\"display:none;\" class=\"editor-valid\"><\/div>\n\t\t<\/div>\n\t\t<div id=\"dropZone2\" class=\"column-double span\">\n\t\t\t<br\/><input type=\"button\" class=\"action-button-editor right span\" value=\"Browse JSON file\" onClick=\"document.getElementById('file-input-text-2').click();\" \/>\n\t\t\t\n\t\t\t<br\/>\n\t\t\t\t\t<br\/><div class=\"row-container editor-container\" style=\"clear:both;\">\n\t\t\t\t\t\t<textarea id=\"editor-container-text-2\" class=\"editor\">{\n  \"website\": {\n    \"name\": \"JSON Merger\",\n    \"type\": \"Online tool\"\n  }\n}\n<\/textarea>\n\t\t\t<\/div>\n\t\t\t<div id=\"editor-error2\" style=\"display:none;\" class=\"editor-error\"><\/div>\n\t\t\t<div id=\"editor-valid2\" style=\"display:none;\" class=\"editor-valid\"><\/div>\n\t\t<\/div>\n<div id=\"message\" ><\/div>\n\t<\/div>\n\t<\/div>\n<\/div>\n\n<div class=\"row-white\">\n\t<div class=\"container-response\">\n\t\t<div id=\"result\" >\n\t\t<div>\n\t\t\t\t<input type=\"button\" class=\"action-button-editor right\" value=\"Copy to the clipboard\" onclick=\"copyResult();\" \/>\n\t\t\t\t<input type=\"button\" class=\"action-button-editor right\" value=\"Download\" onclick=\"downloadResult();\" \/>\n\n\t\t\t\t<br\/><br\/><div class=\"row-container editor-container\">\n\t\t\t\t\t<textarea id=\"editor-container-result\" class=\"editor\"><\/textarea>\n\t\t\t\t<\/div>\n\n\t\t<\/div>\n\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">How to merge JSON files online<\/h3>\n\n\n\n<p>To merge two JSON files: input your data manually, copy and paste it, or upload files into the editors.<br>The files will be automatically merged and displayed in the editor below.<\/p>\n\n\n\n<p>Finally, you can download the merged JSON file or copy it to the clipboard with a single click.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why merge JSON files?<\/h3>\n\n\n\n<p>Merging JSON files is essential when managing structured data, especially in projects involving complex configurations or integrations. It allows you to consolidate multiple data sources into one file. For instance, in web development or API design, combining JSON data from various sources can streamline workflows.<\/p>\n\n\n\n<p>Manually merging JSON files increases the risk of errors, especially with large datasets. This tool offers a quick, reliable, and straightforward way to merge JSON files, saving time and ensuring accuracy.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>{ \u00ab\u00a0website\u00a0\u00bb: { \u00ab\u00a0name\u00a0\u00bb: \u00ab\u00a0JSON Merge tool\u00a0\u00bb, \u00ab\u00a0url\u00a0\u00bb: \u00ab\u00a0https:\/\/jsoning.com\/merger\/\u00a0\u00bb } } { \u00ab\u00a0website\u00a0\u00bb: { \u00ab\u00a0name\u00a0\u00bb: \u00ab\u00a0JSON Merger\u00a0\u00bb, \u00ab\u00a0type\u00a0\u00bb: \u00ab\u00a0Online tool\u00a0\u00bb } } How to merge JSON files online To merge two JSON files: input your data manually, copy and paste<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-309","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/jsoning.com\/wp-json\/wp\/v2\/pages\/309"}],"collection":[{"href":"https:\/\/jsoning.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jsoning.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jsoning.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jsoning.com\/wp-json\/wp\/v2\/comments?post=309"}],"version-history":[{"count":2,"href":"https:\/\/jsoning.com\/wp-json\/wp\/v2\/pages\/309\/revisions"}],"predecessor-version":[{"id":312,"href":"https:\/\/jsoning.com\/wp-json\/wp\/v2\/pages\/309\/revisions\/312"}],"wp:attachment":[{"href":"https:\/\/jsoning.com\/wp-json\/wp\/v2\/media?parent=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}