Skip to content

add wrap (-w) option#52

Open
ninewise wants to merge 1 commit into
keenerd:masterfrom
ninewise:feature/wrap
Open

add wrap (-w) option#52
ninewise wants to merge 1 commit into
keenerd:masterfrom
ninewise:feature/wrap

Conversation

@ninewise

Copy link
Copy Markdown

This option will wrap the top of the stack in given key. Manipulation
example:

$ cat sample.json
{"a": 1, "b": 2}

$ jshon -e a -w a2 -i a < sample.json
{
 "a": {
  "a2": 1
 },
 "b": 2
}

This option will wrap the top of the stack in given key. Manipulation
example:

    $ cat sample.json
    {"a": 1, "b": 2}

    $ jshon -e a -w a2 -i a < sample.json
    {
     "a": {
      "a2": 1
     },
     "b": 2
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant