javascript - Pretty printing an unreadable ClojureScript #js form -
how pretty-print deeply-nested clojurescript #js data structure prints "unreadable form" on (prn (js->clj some-form))
?
the unreadable parts seem object representations "viewport" #<((123, 456), (678, 987))>}
. alternatively, how strip out these unreadable forms can visualise data structure?
i found an article printing java objects, surely there must simpler way?
instead of using printer, use (.log js/console x)
, it's way better @ printing/inspecting js objects cljs printer. makes little sense first convert js object cljs data printing.
Comments
Post a Comment