Skip to content

Commit 9af6f18

Browse files
committed
add buffer size constraint in read docstring
1 parent 3859eae commit 9af6f18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/clojure/clojure/data/json.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,8 @@
483483
"Reads a single item of JSON data from a java.io.Reader.
484484
485485
If you wish to repeatedly read items from the same reader, you must
486-
supply a PushbackReader and reuse it on subsequent calls.
486+
supply a PushbackReader with buffer size >= 64, and reuse it on
487+
subsequent calls.
487488
488489
Options are key-value pairs, valid options are:
489490

0 commit comments

Comments
 (0)