1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-02-20
Forwareded: no
Description: Document functionality added in pr52.patch
--- a/jshon.1
+++ b/jshon.1
@@ -115,6 +115,11 @@ Arrays are handled in a special manner.
the new value, and then insert at the index.
.Pp
\& jshon \-e b \-d 0 \-s q \-i 0 -> {"b":"q",false,null,"str"}
+.Pp
+.It Cm -w str
+This option will wrap the top of the stack in given key.
+.Pp
+\& echo {"a": 1, "b": 2} | jshon \-e a \-w a2 \-i a becomes {"a": {"a2": 1},"b": 2}
.
.Pp
.El
|