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

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -