This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-15
Channels
- # babashka (12)
- # beginners (88)
- # calva (6)
- # cider (4)
- # clerk (110)
- # clojure (18)
- # clojure-czech (1)
- # clojure-europe (26)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-poland (8)
- # clojure-spain (2)
- # clojure-uk (2)
- # clojurescript (22)
- # cursive (11)
- # data-science (1)
- # datalevin (5)
- # datomic (35)
- # events (1)
- # fulcro (2)
- # gratitude (5)
- # helix (4)
- # hoplon (20)
- # hyperfiddle (52)
- # jobs (3)
- # lsp (1)
- # malli (48)
- # missionary (11)
- # off-topic (31)
- # practicalli (1)
- # reitit (7)
- # releases (1)
- # remote-jobs (7)
- # scittle (9)
- # shadow-cljs (7)
- # sql (11)
- # xtdb (5)
Is there currently anything built into babashka for parsing ndjson? Parsing multiple objects with cheshire only returns the first one
(json/parse-string
"{\"color\": \"blue\"}{\"color\": \"green\"}"
true) ;; => {:color "blue"}
newline-delimited json, http://ndjson.org/
its a somewhat weird format, but i've encountered it through work several times last year, and again today
user=> (require '[cheshire.core :as json])
nil
user=> (json/parsed-seq (java.io.StringReader. "{} {}"))
({} {})
👀 2
Up for me?
Now it's working again, weird