We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e66ec16 commit 2f8f3e9Copy full SHA for 2f8f3e9
Modern Development/Service Portal Widgets/JSON Beautifier/HTML.html
@@ -0,0 +1,21 @@
1
+<div class="container p-3">
2
+ <h3>JSON Beautifier</h3>
3
+ <div class="form-group mt-3">
4
+ <label>Paste JSON Here</label>
5
+ <textarea class="form-control" rows="8" ng-model="rawJson" placeholder='{"key":"value"}'></textarea>
6
+ </div>
7
+ <div class="mt-2">
8
+ <button class="btn btn-primary btn-sm mr-1" ng-click="beautifyJSON()">
9
+ Beautify
10
+ </button>
11
12
+ <div class="mt-3" ng-if="error">
13
+ <div class="alert alert-danger">
14
+ {{error}}
15
16
17
+ <div class="mt-3" ng-if="formattedJson">
18
+ <label>Formatted JSON:</label>
19
+ <pre class="bg-light p-3" style="overflow-x:auto">{{formattedJson}}</pre>
20
21
+</div>
0 commit comments