Skip to content

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed May 11, 2020
1 parent f92c6ee commit b2f8d2c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ to work with the data in a number of ways:

- As a strongly typed C++ data structure that implements [json_type_traits](doc/ref/json_type_traits.md)

- As a stream of parse events, somewhat analogous to StAX pull parsing and push serializing
- With cursor-level access to a stream of parse events, somewhat analogous to StAX pull parsing and push serializing
in the XML world.

Compared to other JSON libraries, jsoncons has been designed to handle very large JSON texts. At its heart are
Expand Down Expand Up @@ -130,7 +130,7 @@ jsoncons allows you to work with the data in a number of ways:

- As a strongly typed C++ data structure that implements [json_type_traits](doc/ref/json_type_traits.md)

- As a stream of parse events
- With [cursor-level access](doc/ref/basic_json_cursor.md) to a stream of parse events

#### As a variant-like data structure

Expand Down Expand Up @@ -310,7 +310,7 @@ These macro declarations must be placed outside any namespace blocks.
See [examples](doc/Examples.md#G0) for other ways of specializing `json_type_traits`.
#### As a stream of parse events
#### With cursor-level access
```c++
int main()
Expand Down Expand Up @@ -482,7 +482,7 @@ jsoncons allows you to work with the CBOR data similarly to JSON data:

- As a strongly typed C++ data structure that implements [json_type_traits](doc/ref/json_type_traits.md)

- As a stream of parse events
- With [cursor-level access](doc/ref/cbor/basic_cbor_cursor.md) to a stream of parse events

#### As a variant-like data structure

Expand Down Expand Up @@ -582,7 +582,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 produces a text string.

#### As a stream of parse events
#### With cursor-level access

```c++
int main()
Expand Down
4 changes: 2 additions & 2 deletions doc/Pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ to work with the data in a number of ways:

- As a strongly typed C++ data structure that implements [json_type_traits](https://github.com/danielaparker/jsoncons/blob/master/doc/ref/json_type_traits.md)

- As a stream of parse events, somewhat analogous to StAX pull parsing and push serializing
- With [cursor-level access](https://github.com/danielaparker/jsoncons/blob/doc/doc/ref/basic_json_cursor.md) to a stream of parse events, somewhat analogous to StAX pull parsing and push serializing
in the XML world.

Compared to other JSON libraries, jsoncons has been designed to handle very large JSON texts. At its heart are
Expand Down Expand Up @@ -258,7 +258,7 @@ These macro declarations must be placed outside any namespace blocks.
See [examples](https://github.com/danielaparker/jsoncons/blob/master/doc/Examples.md#G1) for other ways of specializing `json_type_traits`.
#### As a stream of parse events
#### With cursor-level access
```c++
int main()
Expand Down
4 changes: 2 additions & 2 deletions doc/ref/cbor/cbor.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jsoncons allows you to work with the CBOR data similarly to JSON data:

- As a strongly typed C++ data structure that implements [json_type_traits](../json_type_traits.md)

- As a stream of parse events
- With [cursor-level access](doc/ref/cbor/basic_cbor_cursor.md) to a stream of parse events

#### As a variant-like data structure

Expand Down Expand Up @@ -258,7 +258,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 produces a text string.

#### As a stream of parse events
#### With cursor-level access

```c++
int main()
Expand Down
5 changes: 2 additions & 3 deletions doc/ref/csv/csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ jsoncons allows you to work with the CSV data similarly to JSON data:

- As a strongly typed C++ data structure that implements [json_type_traits](../json_type_traits.md)

- As a stream of parse events

- With [cursor-level access](doc/ref/csv/basic_csv_cursor.md) to a stream of parse events

#### As a variant-like data structure

Expand Down Expand Up @@ -194,7 +193,7 @@ EUR_LIBOR_06M,2015-10-26,0.0000143
EUR_LIBOR_06M,2015-10-27,0.0000001
```
#### As a stream of parse events
#### With cursor-level access
```c++
int main()
Expand Down
1 change: 0 additions & 1 deletion doc/ref/msgpack/msgpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ The msgpack extension implements encode to and decode from the [MessagePack](htt
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_msgpack](decode_msgpack.md)

[basic_msgpack_cursor](basic_msgpack_cursor.md)
Expand Down
4 changes: 2 additions & 2 deletions doc/ref/ubjson/ubjson.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jsoncons allows you to work with the UBJSON data similarly to JSON data:

- As a strongly typed C++ data structure that implements [json_type_traits](../json_type_traits.md)

- As a stream of parse events
- With [cursor-level access](doc/ref/ubjson/basic_ubjson_cursor.md) to a stream of parse events

#### As a variant-like data structure

Expand Down Expand Up @@ -145,7 +145,7 @@ Output:
23.8889
```

#### As a stream of parse events
#### With cursor-level access

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

0 comments on commit b2f8d2c

Please sign in to comment.