Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Oct 17, 2023
1 parent 58f12cc commit c1eee53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/readme/json-lines.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To convert to/from a single JSON Line string, use *jsonl/write-str* and *jsonl/r
;; write two JSON lines (passing as list with two values)
(println (jsonl/write-str [{"a" 10 :b 20} {"a" 11 "b" 21}])))

;; outputs
;; output (a two-line string)
;; {"a":10,"b":20}
;; {"a":11,"b":21}
```
Expand All @@ -30,7 +30,8 @@ To convert to/from a single JSON Line string, use *jsonl/write-str* and *jsonl/r
{"a":11,"b":21}
{"a":12,"b":23}
""")))
;; outputs

;; output (a Venice list with 3 maps)
;; ({"a" 10 "b" 20} {"a" 11 "b" 21} {"a" 12 "b" 23})
```

Expand Down

0 comments on commit c1eee53

Please sign in to comment.