File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 12
12
13
13
The ` jsonfiddle ` makes it easy to look at the JSON data from different aspects.
14
14
15
+ - ** ` jsonfiddle esc ` ** will escape any arbitrary string so as to embed it as content of json string.
15
16
- ** ` jsonfiddle fmt ` ** will format the JSON data, either compact it or pretty printing it. The order of fields are intact.
16
17
- ** ` jsonfiddle sort ` ** will sort the JSON data fields recursively, so that the attributes at any level are in sorted order.
17
18
- ** ` jsonfiddle j2s ` ** means json to struct. It will extract the structure of JSON data as Go struct.
Original file line number Diff line number Diff line change 42
42
43
43
The ` jsonfiddle ` makes it easy to look at the JSON data from different aspects.
44
44
45
+ - ** ` jsonfiddle esc ` ** will escape any arbitrary string so as to embed it as content of json string.
45
46
- ** ` jsonfiddle fmt ` ** will format the JSON data, either compact it or pretty printing it. The order of fields are intact.
46
47
- ** ` jsonfiddle sort ` ** will sort the JSON data fields recursively, so that the attributes at any level are in sorted order.
47
48
- ** ` jsonfiddle j2s ` ** means json to struct. It will extract the structure of JSON data as Go struct.
@@ -65,15 +66,15 @@ Options:
65
66
66
67
Commands:
67
68
68
- esc Escape json string so as to embed it as content of json string
69
+ esc Escape json string
69
70
fmt Format json string
70
71
sort Sort json fields recursively
71
72
j2s JSON to struct
72
73
```
73
74
74
75
### $ jsonfiddle esc
75
76
``` sh
76
- Escape json string so as to embed it as content of json string
77
+ Escape json string
77
78
78
79
Options:
79
80
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Options:
39
39
Command :
40
40
41
41
- Name : esc
42
- Desc : " Escape json string so as to embed it as content of json string "
42
+ Desc : " Escape json string"
43
43
NumOption : cli.AtLeast(1)
44
44
45
45
Options :
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ type escT struct {
97
97
98
98
var escDef = & cli.Command {
99
99
Name : "esc" ,
100
- Desc : "Escape json string so as to embed it as content of json string " ,
100
+ Desc : "Escape json string" ,
101
101
102
102
Argv : func () interface {} { return new (escT ) },
103
103
Fn : escCLI ,
You can’t perform that action at this time.
0 commit comments