The following works with clojure.data.json version 1.0.0, but throws an exception in 2.0.2 and 2.1.0 (other versions not tested):
(defn read-json []
(clojure.data.json/read
(clojure.java.io/reader
(clojure.java.io/as-url
"https://github.com/phronmophobic/clj-cef/raw/main/resources/cef.json"))))
The exception:
Execution error (IOException) at java.io.PushbackReader/unread (PushbackReader.java:179).
Pushback buffer overflow
`
It also throws the exception when reading from the file locally.