2
0
mirror of https://github.com/skanehira/tson synced 2024-11-15 12:13:04 +00:00

update readme about add value

This commit is contained in:
skanehira 2019-11-02 18:06:28 +09:00
parent ccc3f95767
commit 48aadd9719

View File

@ -44,6 +44,7 @@ $ tson -url http://gorilla/likes/json
| r | read from file |
| s | save to file |
| a | add new node |
| A | add new value |
| Enter | edit node |
| / | search nodes |
@ -87,5 +88,26 @@ then you will get new tree as following.
└──gorilla
```
Also, You can use `A` to add new value to current node.
For example, you have following tree.
```
{object} <- your cursor in there
└──name
└──gorilla
```
If you input `{"age": 26}` and press add button,
then you will get new tree as following.
```
{object} <- your cursor in there
├──name
│ └──gorilla
└──age
└──26
```
# Author
skanehira