fressian-cljs
fressian-cljs copied to clipboard
Fressian library for clojurescript
Hi, and thanks for creating the fressian-cljs library. I've made a trivial change to the library to fix a warning message that occurs during the shadow-cljs build process: ```` ------...
This allows users to upload files via Websockets using Fressian as transport format (jahoren/Chord). ``` (let [fr (js/FileReader.) file (-> some-js-event .-target .-files (aget 0))] (set! (.-onload fr) #(send-this-to-chord (->...
[net.unit8/fressian-cljs "0.1.0"] ``` (ns datascript-test.core (:require [fressian-cljs.core :as fress])) (fress/write {:hi "there"}) ``` Invalid :refer, var fressian-cljs.fns/lookup does not exist
Hi! This pull request includes a couple bug fixes that make fressian-cljs compatible with fressian. Now we are able to transmit data back and forth from client to server successfully....
I noticed that when I send data from a backend server using data.fressian (https://github.com/clojure/data.fressian) over a websocket to the browser, fressian-cljs is deserializing decimal numbers incorrectly. Strings, integers, and keywords...
If I write binary fressian from the server to the host then this only works if the websocket has been configured to deliver messages as ArrayBuffer objects, since by default...