forked from prabhuomkar/json-coder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
181 lines (161 loc) · 9.52 KB
/
index.html
File metadata and controls
181 lines (161 loc) · 9.52 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>json-coder</title>
<!-- Fonts and icons -->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<!-- Google Fonts -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Arima+Madurai:400,700|Baumans|Acme" />
<!-- Bootstrap CDN -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" />
<!-- stylesheets -->
<link rel="stylesheet" href="css/bootstrap.css" type="text/css">
<link rel="stylesheet" href="css/material-kit.css" type="text/css">
<link rel="stylesheet" href="css/index.css" type="text/css">
</head>
<body class="profile-page">
<nav class="navbar navbar-transparent navbar-fixed-top navbar-color-on-scroll" style="background-color: #000;">
<div class="container">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html"><i class="fa fa-code"></i> json-coder</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active btn-tooltip" title="Home"><a href="index.html"> HOME <span class="sr-only">(current)</span></a></li>
<li class="btn-tooltip" title="About the coder!"><a href="about.html"> ABOUT </a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="btn-tooltip" title="nerdyninja"><a href="https://github.com/nerdyninja/json-coder" target="_blank"><span><i class="fa fa-1x fa-github" aria-hidden="true"></i></span> GitHub</a></li>
</ul>
</div>
</div>
</div>
</nav>
<div class="wrapper">
<div class="header header-filter" style="background-image: url('images/coding3.jpg');"></div>
<div class="main main-raised">
<div class="profile-content">
<div class="container">
<div class="row">
<div class="profile">
<div class="avatar">
<img src="images/code1.png" alt="Circle Image" class="img-circle img-responsive img-raised">
</div>
<div class="name">
<h3 class="title"><i class="fa fa-code"></i> json-coder</h3>
</div>
<h3>. . . not familiar with <code>json</code>?</h3>
<!-- Button trigger modal -->
<button class="btn btn-default" data-toggle="modal" data-target="#myModal">
CLICK HERE!
</button>
<!-- Modal Core -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel"><span><i class="fa fa-code"></i> json-coder</span></h4>
</div>
<div class="modal-body">
<center>
<h4>What is JSON?</h4>
<p>JSON stands for "JavaScript Object Notation" and is pronounced "Jason" (like in the Friday the 13th movies). It's meant to be a human-readable and compact solution to represent a complex data structure and facilitate data-interchange between systems.</p>
<h4>Why use JSON?</h4>
<p>There are tons of reasons why you would want to use JSON:<br>
It's human readable... if it's properly formatted :-P
It's compact because it doesn't use a full markup structure, unlike XML
It's easy to parse, especially in JavaScript
A gazillion JSON libraries are available for most programming languages
The data structure is easy to understand.</p>
</center>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success btn-simple" data-dismiss="modal">GOT IT!</button>
</div>
</div>
</div>
</div>
<!-- <h3 style="padding-left: 32px; font-weight: bold;">Enter json Response or json link below: </h3> -->
<hr>
</div>
</div>
<!-- <div class="description text-center">
<h4>Not familiar with JSON?</h4>
</div> -->
<br>
<div class="container">
<div class="form-group">
<div class="col-lg-12">
<center>
<textarea class="form-control" rows="9" id="json-response" placeholder="Enter JSON Response or JSON link"></textarea>
</center>
</div>
</div>
<div class="form-group">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
<button type="reset" onclick="resetJSON()" class="btn btn-danger"><i class="fa fa-trash"></i> Clear</button>
</div>
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-8">
<button type="submit" class="btn btn-success pull-right" id="submit-json-btn"><i class="fa fa-check-circle"></i> GET PARSING CODE</button>
</div>
</div>
<div class="row" id="show-box">
<div class="col-lg-6 col-md-6 col-sm-12">
<h5>Pretty <code>JSON</code></h5>
<pre id="pretty-code" style="max-height: 400;display:none;""></pre>
</div>
<div class="col-lg-6 col-md-6 col-sm-12">
<h5>Parsing Code for Android (Java)</h5>
<span id="java-code"></span>
</div>
</div>
<!-- <hr> -->
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<nav class="pull-left">
<ul>
<li>
<a href="https://www.facebook.com/op1111?ref=br_rs" target="_blank">
Facebook
</a>
</li>
<li>
<a href="https://www.instagram.com/prabhu.omkar/?hl=en" target="_blank">
Instagram
</a>
</li>
</ul>
</nav>
<div class="copyright pull-right">
© 2017 - made with <i class="fa fa-heart heart"></i> by nerdyninja & designed by Brijesh097
</div>
</div>
</footer>
</body>
<!-- scripts !-->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/jsoncoder.js"></script>
<!-- Plugin for the Sliders, full documentation here: http://refreshless.com/nouislider/ -->
<script src="js/nouislider.min.js" type="text/javascript"></script>
<!-- Plugin for the Datepicker, full documentation here: http://www.eyecon.ro/bootstrap-datepicker/ -->
<script src="js/bootstrap-datepicker.js" type="text/javascript"></script>
<!-- Control Center for Material Kit: activating the ripples, parallax effects, scripts from the example pages etc -->
<script src="js/material-kit.js" type="text/javascript"></script>
</html>