This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-18
Channels
- # 100-days-of-code (6)
- # announcements (4)
- # beginners (126)
- # cider (49)
- # cljdoc (28)
- # cljsrn (3)
- # clojure (89)
- # clojure-dev (19)
- # clojure-greece (2)
- # clojure-italy (13)
- # clojure-mexico (1)
- # clojure-nl (13)
- # clojure-spec (108)
- # clojure-sweden (1)
- # clojure-uk (48)
- # clojurescript (31)
- # cloverage (3)
- # core-async (16)
- # cursive (28)
- # data-science (3)
- # datascript (1)
- # datomic (60)
- # defnpodcast (1)
- # docker (17)
- # editors (18)
- # emacs (16)
- # events (1)
- # figwheel (22)
- # figwheel-main (4)
- # graphql (26)
- # jobs (2)
- # off-topic (9)
- # om-next (2)
- # overtone (4)
- # perun (1)
- # re-frame (2)
- # reagent (18)
- # reitit (1)
- # ring-swagger (2)
- # shadow-cljs (2)
- # tools-deps (49)
- # uncomplicate (1)
- # unrepl (1)
- # vim (2)
I made a PR for cheshire library to add ability to skip parts of a json by using path-predicate option. It also add parsed-seq-strict
public function to retrieve arrays from the huge json lazily. For anyone who want to test it - it is available as [org.clojars.dlg/cheshire "5.8.2-SNAPSHOT"]
https://github.com/dakrone/cheshire/pull/135 - there is a PR
;; tl;dr
(parse-string "{\"foo\": {\"bar\": 2, \"buz\": 4}, \"oof\": 3}" true nil (fn [path] (re-matches #"(foo|oof)(bar)?" (apply str path))))
;; => {:foo {:bar 2} :oof 3}
👍 4
Like amazonica but for ClojureScript (and a bit less ambitious): https://github.com/polymeris/cljs-aws Early development, feedback very welcome.
28
🙂 8
8