From d51234eb52044326b27baf6b6cab6389568cc8cf Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Sat, 2 Dec 2023 11:06:12 -0600 Subject: [PATCH] update docstring for pprint to omit :indent as an option --- src/main/clojure/clojure/data/json.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/clojure/clojure/data/json.clj b/src/main/clojure/clojure/data/json.clj index 0744258..219d480 100644 --- a/src/main/clojure/clojure/data/json.clj +++ b/src/main/clojure/clojure/data/json.clj @@ -739,8 +739,8 @@ :else (pprint-generic x options))) (defn pprint - "Pretty-prints JSON representation of x to *out*. Options are the - same as for write except :value-fn, which is not supported." + "Pretty-prints JSON representation of x to *out*. Options are the same + as for write except :value-fn and :indent, which are not supported." [x & {:as options}] (let [opts (merge default-write-options options)] (pprint/with-pprint-dispatch #(pprint-dispatch % opts) @@ -811,4 +811,4 @@ :escape-unicode false to turn off \\uXXXX escapes of Unicode characters." [x & options] - (apply pprint x options)) \ No newline at end of file + (apply pprint x options))