Skip to content

Commit de41c3e

Browse files
committed
docs(readme): improve punctuation and word choice
1 parent db815ec commit de41c3e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
[![AppVeyor CI Build Status](https://ci.appveyor.com/api/projects/status/github/dbohdan/remarshal?branch=master&svg=true)](https://ci.appveyor.com/project/dbohdan/remarshal)
55

66
Convert between TOML, YAML, and JSON. When installed provides the
7-
command line commands `toml2yaml`, `toml2json`, `yaml2toml`, `yaml2json`.
8-
`json2toml` and `json2yaml` for format conversion as well as `toml2toml`,
9-
`yaml2yaml` and `json2json` for reformatting and error detection. Remarshal
10-
currently supports TOML 0.4.0.
7+
command line commands `toml2yaml`, `toml2json`, `yaml2toml`, `yaml2json`,
8+
`json2toml`, and `json2yaml` for format conversion as well as `toml2toml`,
9+
`yaml2yaml`, and `json2json` for reformatting and error detection.
10+
Remarshal currently supports TOML 0.4.0.
1111

1212
## Installation
1313

@@ -74,8 +74,8 @@ string the result of the conversion is written to the standard output.
7474
### Wrappers
7575

7676
The arguments `--wrap` and `--unwrap` are there to solve the problem of
77-
converting JSON and YAML data to TOML if the topmost element of that data is not
78-
of a dictionary type (i.e., not an object in JSON or an associative array in
77+
converting JSON and YAML data to TOML if the top-level element of that data is
78+
not of a dictionary type (i.e., not an object in JSON or an associative array in
7979
YAML) but a list, a string, or a number. Such data can not be represented as
8080
TOML directly; it needs to wrapped in a dictionary first. Passing the flag
8181
`--wrap someKey` to `remarshal` or one of its short commands wraps the input
@@ -155,8 +155,8 @@ servers:
155155
ip: 10.0.0.2
156156
title: TOML Example
157157
158-
$ curl -s http://api.openweathermap.org/data/2.5/weather\?q\=Kiev,ua | \
159-
./remarshal.py --if json --of toml
158+
$ curl -s http://api.openweathermap.org/data/2.5/weather\?q\=Kiev,ua \
159+
| ./remarshal.py --if json --of toml
160160
base = "cmc stations"
161161
cod = 200
162162
dt = 1412532000

0 commit comments

Comments
 (0)