You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.e.md
+22
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ The `jsonfiddle` makes it easy to look at the JSON data from different aspects.
20
20
21
21
### $ {{exec "jsonfiddle" | color "sh"}}
22
22
23
+
### $ {{shell "jsonfiddle esc" | color "sh"}}
24
+
23
25
### $ {{shell "jsonfiddle fmt" | color "sh"}}
24
26
25
27
### $ {{shell "jsonfiddle sort" | color "sh"}}
@@ -28,6 +30,26 @@ The `jsonfiddle` makes it easy to look at the JSON data from different aspects.
28
30
29
31
# Examples
30
32
33
+
## Escape with `jsonfiddle esc`
34
+
35
+
### $ {{shell "jsonfiddle esc -i test/Customer.ref" | color "json"}}
36
+
37
+
### Usage
38
+
39
+
`jsonfiddle esc` will escape any arbitrary string so as to embed it as content of json string. This seems useless at first, but it actually allows you to embed any arbitrary file into [GitHub Gists JSON API](https://developer.github.com/v3/gists/), so as to post any arbitrary file onto GitHub Gist:
`jsonfiddle esc` will escape any arbitrary string so as to embed it as content of json string. This seems useless at first, but it actually allows you to embed any arbitrary file into [GitHub Gists JSON API](https://developer.github.com/v3/gists/), so as to post any arbitrary file onto GitHub Gist:
0 commit comments