Skip to content

Commit

Permalink
code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Oct 20, 2023
1 parent c15f376 commit 3e4e4eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/readme/json-lines.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ Venice integers are converted to longs on JSON write/read:
(do
(load-module :jsonl)

(jsonl/read-str (jsonl/write-str {:a 100I})))
(->> (jsonl/write-str {:a 100I})
(jsonl/read-str))

;;=> {"a" 100}
```
Expand Down
4 changes: 3 additions & 1 deletion doc/readme/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ Venice date/time data types are formatted as ISO date/time strings:
Venice integers are converted to longs on JSON write/read:

```clojure
(json/read-str (json/write-str {:a 100I}))
(->> (json/write-str {:a 100I})
(json/read-str))

;;=> {"a" 100}
```

0 comments on commit 3e4e4eb

Please sign in to comment.