Skip to content

Commit 9ba372c

Browse files
authored
PR feedback
1 parent f01b043 commit 9ba372c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ json_serialize(buf, arr);
1818
printf("%s\n", buf);
1919
```
2020
21-
```
22-
> [ "Hello world!", 128 ]
21+
```json
22+
[ "Hello world!", 128 ]
2323
```
2424

2525
json-builder is fully interoperable with json-parser:
@@ -40,8 +40,8 @@ json_serialize(buf, arr);
4040
printf("%s\n", buf);
4141
```
4242
43-
```
44-
> [ 1, 2, 3 ]
43+
```json
44+
[ 1, 2, 3 ]
4545
```
4646

4747
Note that values created by or modified by json-builder must be freed with
@@ -53,7 +53,7 @@ Modes
5353
-----
5454

5555
* `json_serialize_mode_multiline` — Generate multi-line JSON, for example:
56-
```
56+
```json
5757
[
5858
1,
5959
2,
@@ -62,12 +62,12 @@ Modes
6262
```
6363

6464
* `json_serialize_mode_single_line` — Generate JSON on a single line, for example:
65-
```
65+
```json
6666
[ 1, 2, 3 ]
6767
```
6868

6969
* `json_serialize_mode_packed` — Generate JSON as tightly packed as possible, for example:
70-
```
70+
```json
7171
[1,2,3]
7272
```
7373

0 commit comments

Comments
 (0)