Skip to content

Commit

Permalink
doc formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Oct 19, 2023
1 parent 8560653 commit 3255619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/readme/json-lines.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ JSON handling.
(load-module :jsonl)

(jsonl/read-str """{"a": "2018-08-01T10:15:30", "b": 100}"""
:key-fn keyword
:value-fn (fn [k v] (if (== :a k) (time/local-date-time v) v))))
:key-fn keyword
:value-fn (fn [k v] (if (== :a k) (time/local-date-time v) v))))

;;=> {:a 2018-08-01T10:15:30 :b 100}
```
Expand Down

0 comments on commit 3255619

Please sign in to comment.