docs(readme/wrappers): mention CBOR in section
This commit is contained in:
parent
5528389120
commit
bf03a22ae8
10
README.md
10
README.md
|
@ -100,11 +100,11 @@ string the result of the conversion is written to the standard output.
|
||||||
### Wrappers
|
### Wrappers
|
||||||
|
|
||||||
The arguments `--wrap` and `--unwrap` are there to solve the problem of
|
The arguments `--wrap` and `--unwrap` are there to solve the problem of
|
||||||
converting JSON, MessagePack, and YAML data to TOML if the top-level element
|
converting CBOR, JSON, MessagePack, and YAML data to TOML if the top-level
|
||||||
of that data is not of a dictionary type (i.e., not an object in JSON, a map
|
element of that data is not of a dictionary type (i.e., not a map in CBOR and
|
||||||
in MessagePack, or an associative array in YAML) but a list, a string, or
|
MessagePack, an object in JSON, or an associative array in YAML) but a list,
|
||||||
a number. Such data can not be represented as TOML directly; it needs to be
|
a string, or a number. Such data can not be represented as TOML directly; it
|
||||||
wrapped in a dictionary first. Passing the flag `--wrap someKey` to
|
must be wrapped in a dictionary first. Passing the flag `--wrap someKey` to
|
||||||
`remarshal` or one of its short commands wraps the input data in a "wrapper"
|
`remarshal` or one of its short commands wraps the input data in a "wrapper"
|
||||||
dictionary with one key, "someKey", with the input data as its value.
|
dictionary with one key, "someKey", with the input data as its value.
|
||||||
The flag `--unwrap someKey` does the opposite: if it is specified only
|
The flag `--unwrap someKey` does the opposite: if it is specified only
|
||||||
|
|
Loading…
Reference in New Issue