Skip to content

Commit df1e82f

Browse files
committed
Fix for example format in README.
1 parent c496fd3 commit df1e82f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1979,7 +1979,7 @@ Note also that `read` and `write` methods of Reader_Writer class can be template
19791979

19801980
A custom Reader_Writer can also be used to change representation of a field. For example, let suppose that we have a `std::vector<some_struct>` field, but this field has to be represented as a single object if it holds just one value, and as an array otherwise. Something like:
19811981

1982-
```json
1982+
```
19831983
{
19841984
"message": {
19851985
"from": "address-1",
@@ -1993,7 +1993,7 @@ A custom Reader_Writer can also be used to change representation of a field. For
19931993

19941994
if we have only one extension in a message or:
19951995

1996-
```json
1996+
```
19971997
{
19981998
"message": {
19991999
"from": "address-1",

0 commit comments

Comments
 (0)