Skip to content

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Aug 2, 2019
1 parent 5b9204c commit c111ffc
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ std::string data = R"(

jsoncons allows you to work with the data in a number of ways:

- As a variant-like structure, [basic_json](doc/ref/basic_json.md)
- As a variant-like data structure, [basic_json](doc/ref/basic_json.md)

- As a strongly typed C++ data structure

- As a stream of parse events

#### As a variant-like structure
#### As a variant-like data structure

```c++
int main()
Expand Down Expand Up @@ -465,13 +465,13 @@ const std::vector<uint8_t> data = {

jsoncons allows you to work with the CBOR data similarly to JSON data:

- As a variant-like structure, [basic_json](doc/ref/basic_json.md)
- As a variant-like data structure, [basic_json](doc/ref/basic_json.md)

- As a strongly typed C++ data structure

- As a stream of parse events

#### As a variant-like structure
#### As a variant-like data structure

```c++
int main()
Expand Down Expand Up @@ -567,7 +567,7 @@ bar, 50 75 73 73, 1.23456789012345678901234567890
```

Note that when decoding the bigfloat and decimal fraction into a `std::string`, we lose the semantic information
that the variant like data structure preserved with a tag, so serializing back to CBOR results in a text string.
that the variant like data structure preserved with a tag, so serializing back to CBOR produces a text string.

#### As a stream of parse events

Expand Down
4 changes: 2 additions & 2 deletions doc/Pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ std::string data = R"(

jsoncons allows you to work with the data in a number of ways:

- As a variant-like structure, [basic_json](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/basic_json.md)
- As a variant-like data structure, [basic_json](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/basic_json.md)

- As a strongly typed C++ data structure

- As a stream of parse events

#### As a variant-like structure
#### As a variant-like data structure

```c++

Expand Down
2 changes: 1 addition & 1 deletion doc/ref/bson/bson.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### bson extension

The bson extension implements decode from and encode to the [Binary JSON](http://bsonspec.org/) data format.
You can either parse into or serialize from a variant-like structure, [basic_json](../basic_json.md), or your own
You can either parse into or serialize from a variant-like data structure, [basic_json](../basic_json.md), or your own
data structures, using [json_type_traits](../json_type_traits.md).

[decode_bson](decode_bson.md)
Expand Down
8 changes: 4 additions & 4 deletions doc/ref/cbor/cbor.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## cbor extension

The cbor extension implements decode from and encode to the IETF standard [Concise Binary Object Representation (CBOR)](http://cbor.io/).
You can either parse into or serialize from a variant-like structure, [basic_json](../basic_json.md), or your own
You can either parse into or serialize from a variant-like data structure, [basic_json](../basic_json.md), or your own
data structures, using [json_type_traits](../json_type_traits.md).

[decode_cbor](decode_cbor.md)
Expand Down Expand Up @@ -143,13 +143,13 @@ const std::vector<uint8_t> data = {

jsoncons allows you to work with the CBOR data similarly to JSON data:

- As a variant-like structure, [basic_json](doc/ref/basic_json.md)
- As a variant-like data structure, [basic_json](doc/ref/basic_json.md)

- As a strongly typed C++ data structure

- As a stream of parse events

#### As a variant-like structure
#### As a variant-like data structure

```c++
int main()
Expand Down Expand Up @@ -245,7 +245,7 @@ bar, 50 75 73 73, 1.23456789012345678901234567890
```

Note that when decoding the bigfloat and decimal fraction into a `std::string`, we lose the semantic information
that the variant like data structure preserved with a tag, so serializing back to CBOR results in a text string.
that the variant like data structure preserved with a tag, so serializing back to CBOR produces a text string.

#### As a stream of parse events

Expand Down
6 changes: 3 additions & 3 deletions doc/ref/csv/csv.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### csv extension

The csv extension implements decode from and encode to the [CSV format](https://www.rfc-editor.org/rfc/rfc4180.txt)
You can either parse into or serialize from a variant-like structure, [basic_json](../basic_json.md), or your own
You can either parse into or serialize from a variant-like data structure, [basic_json](../basic_json.md), or your own
data structures, using [json_type_traits](../json_type_traits.md).

[decode_csv](decode_csv.md)
Expand Down Expand Up @@ -35,14 +35,14 @@ EUR_LIBOR_06M,2015-10-27,0.0000001

jsoncons allows you to work with the CSV data similarly to JSON data:

- As a variant-like structure, [basic_json](../basic_json.md)
- As a variant-like data structure, [basic_json](../basic_json.md)

- As a strongly typed C++ data structure

- As a stream of parse events


#### As a variant-like structure
#### As a variant-like data structure

```c++
int main()
Expand Down
2 changes: 1 addition & 1 deletion doc/ref/msgpack/msgpack.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### msgpack extension

The msgpack extension implements encode to and decode from the [MessagePack](http://msgpack.org/index.html) data format.
You can either parse into or serialize from a variant-like structure, [basic_json](../basic_json.md), or your own
You can either parse into or serialize from a variant-like data structure, [basic_json](../basic_json.md), or your own
data structures, using [json_type_traits](../json_type_traits.md).


Expand Down
6 changes: 3 additions & 3 deletions doc/ref/ubjson/ubjson.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## ubjson extension

The ubjson extension implements encode to and decode from the [Universal Binary JSON Specification](http://ubjson.org/) data format.
You can either parse into or serialize from a variant-like structure, [basic_json](../basic_json.md), or your own
You can either parse into or serialize from a variant-like data structure, [basic_json](../basic_json.md), or your own
data structures, using [json_type_traits](../json_type_traits.md).

[decode_ubjson](decode_ubjson.md)
Expand Down Expand Up @@ -60,13 +60,13 @@ const std::vector<uint8_t> data =

jsoncons allows you to work with the UBJSON data similarly to JSON data:

- As a variant-like structure, [basic_json](doc/ref/basic_json.md)
- As a variant-like data structure, [basic_json](doc/ref/basic_json.md)

- As a strongly typed C++ data structure

- As a stream of parse events

#### As a variant-like structure
#### As a variant-like data structure

```c++
int main()
Expand Down

0 comments on commit c111ffc

Please sign in to comment.