forked from zgrossbart/jdd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
124 lines (117 loc) · 7.89 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Validate, format, and compare JSON files. See the differences between the objects instead of just the new lines and mixed up properties.">
<meta name="keywords" content="difference json, compare json, text compare json, json diff, compare json online, json compare online,online compare json,online json compare,compare json online, json compare,text diff">
<title>Compare json, json files in seconds | comparejson.com</title>
<link rel="stylesheet" href="reset.css" type="text/css" media="screen">
<link rel="stylesheet" href="output.css" type="text/css" media="screen">
<link rel="stylesheet" href="daisy.css" type="text/css" media="screen">
<link rel="stylesheet" href="throbber.css" type="text/css" media="screen">
<link rel="stylesheet" href="jdd.css" type="text/css" media="screen">
<script src="jsl/jsl.format.js" type="text/javascript" charset="utf-8"></script>
<script src="jsl/jsl.parser.js" type="text/javascript" charset="utf-8"></script>
<script src="jdd.js" type="text/javascript" charset="utf-8"></script>
<script>
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
</script>
<script defer src="/_vercel/insights/script.js"></script>
</head>
<body>
<div id="main">
<div class="header">
<p class="text-3xl">Compare JSON</p>
<p class="mt-3">compare json and json file online. Data stays in browser and never leaves your system.</p>
<div class="weak">
<p >
Get the <a href="https://github.com/rudy2steiner/comparejson">source code</a>.
</p>
<p>
Big thanks owed to the team behind <a href="http://www.jsonlint.com">JSONLint</a> and <a href="http://www.zackgrossbart.com">Zack Grossbart</a>
</p>
</div>
</div>
<div class="initContainer ">
<div class="left">
<textarea spellcheck="false" id="textarealeft" placeholder="Enter JSON to compare, enter an URL to JSON" tabindex="1"></textarea>
<pre id="errorLeft" class="error"></pre>
<span class="fileInput">or <input type="file" id="fileLeft" onchange="jdd.handleFiles(this.files, 'left')" tabindex="4"></span>
</div>
<div class="center">
<button id="compare" tabindex="3">Compare</button>
<div class="throbber-loader"></div>
<br/><br/>
or try some<br /><a href="#" id="sample">sample data</a>
</div>
<div class="right">
<textarea spellcheck="false" class="right" id="textarearight" placeholder="Enter JSON to compare, enter an URL to JSON" tabindex="2"></textarea>
<pre id="errorRight" class="error"></pre>
<span class="fileInput">or <input type="file" id="fileRight" onchange="jdd.handleFiles(this.files, 'right')" tabindex="5"></span>
</div>
</div>
<div class="diffcontainer">
<div id="report">
</div>
<pre id="out" class="left" class="codeBlock"></pre>
<pre id="out2" class="right" class="codeBlock"></pre>
<ul id="toolbar" class="toolbar"></ul>
</div>
<section >
<div class="mx-auto w-[100%] h-[100%] mt-3">
<div class="py-4 px-4 mx-auto sm:py-16 lg:px-6">
<div class="mb-2 lg:mb-2">
<h1 class="mb-4 text-4xl tracking-tight font-extrabold text-gray-900 dark:text-white">Compare JSON Online</h1>
<p class="text-gray-500 sm:text-xl dark:text-gray-400">CompareJSON is a powerful online tool that allows you to validate, format, and compare two JSON, JSON file side-by-side.</p>
<p class="text-gray-500 sm:text-xl dark:text-gray-400">see the differences between formatted json instead of just the new lines and mixed up properties.</p>
</div>
<div class="space-y-5 mt-2">
<div>
<h2 class="mb-2 text-xl font-bold dark:text-white">JSON Diff Checker, Diff Finder</h2>
<p class="text-gray-500 sm:text-xl dark:text-gray-400">JSON Diff Checker is a tool that compares two JSON documents and highlights the differences between them. It allows you to quickly identify any discrepancies or changes between the two documents.</p>
<ul class="list-inside list-disc mt-2">
<li class="font-inter text-base font-light text-gray-500 ">Quick and easy comparison: It provides a visual representation of the differences, making it easier to identify.</li>
<li class="font-inter text-base font-light text-gray-500 ">Supports nested and complex JSON structures: It can handle even the most complex JSON structures.</li>
</ul>
</div>
<div>
<h2 class="mb-2 text-xl font-bold dark:text-white">How to use Compare JSON ?</h2>
<ul class="list-inside list-disc">
<li class="font-inter text-base font-light text-gray-500 ">Copy and paste JSON data into the input boxes or upload two json file.</li>
<li class="font-inter text-base font-light text-gray-500 ">Click the <b class="font-bold">Compare</b> button.</li>
</ul>
</div>
</div>
</div>
</div>
<section>
<!-- Container -->
<div class="mx-auto flex w-full flex-col items-center justify-center px-5 "><!-- Component -->
<!-- TEXT DIV -->
<div class="mx-auto flex flex-col items-center justify-center px-6 text-cente lg:px-10">
<h2 class="mx-auto text-center font-bold text-black lg: text-3xl lg:text-4xl">FAQs</h2>
</div>
<!-- FAQs -->
<div class="mt-5 flex w-full w-[80%] flex-col space-y-4">
<div class="collapse collapse-arrow bg-base-200">
<input type="radio" name="my-accordion-2" checked="checked" />
<div class="collapse-title text-xl font-medium">
<h3 class="font-bold text-black text-xl">How to compare two json files?</h3>
</div>
<div class="collapse-content">
<ul class="list-inside list-disc">
<li class="font-inter text-base font-light text-gray-500 ">Click on the "Choose File" button and select two JSON files you want to compare.</li>
<li class="font-inter text-base font-light text-gray-500 ">Click the <b class="font-bold">Compare</b> button.</li>
</ul>
</div>
</div>
</div>
</div>
</section>
</section>
<p class="text-center text-sm text-gray-500 mt-20">
Copyright © 2024. All rights reserved.
</p>
</div>
</body>
</html>