Re: UTF16 Surrogate Pairs in Fressian not encoded to utf8 correctly

2019-11-07 Thread Kyle Wilt
["3f" "3f"] > > Note that Java's utf-8 encoder will translate these to "?", losing > information about the original char value. > > That said, if this is the case, it makes more sense for fressian to say > "we have a custom encoding that is

Re: UTF16 Surrogate Pairs in Fressian not encoded to utf8 correctly

2019-11-07 Thread Francis Avila
ng information about the original char value. That said, if this is the case, it makes more sense for fressian to say "we have a custom encoding that is mostly utf-8 except it preserves invalid utf-16" than "this is utf-8". I wonder if other fressian implementations handl

UTF16 Surrogate Pairs in Fressian not encoded to utf8 correctly

2019-11-07 Thread Kyle Wilt
I posted an issue about this to the datomic/fressian github page but I don't know if anyone is monitoring it anymore. https://github.com/Datomic/fressian/issues/7 I'm trying to find out if this is intentional for some reason or a bug. Right now it encodes UTF16 surrogate pairs as

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-20 Thread Ryan Schmitt
Thanks for this breakdown; a lot of what you're saying about Transit is stuff I had inferred from prior announcements, but it's still enlightening to see an explicit comparison to Edn and Fressian. On Sunday, March 15, 2015 at 7:51:55 PM UTC-7, Alex Miller wrote: > > Hi Ryan, &

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-20 Thread Ryan Schmitt
mic-object. On Monday, March 16, 2015 at 9:30:45 PM UTC-7, Lucas Bradstreet wrote: > > I have had a lot of success with nippy > https://github.com/ptaoussanis/nippy, which is quite well documented. We > had problems with fressian round tripping Clojure collections, as you've >

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-17 Thread Andrey Antukh
+1 nippy I have successfully used it in few of my projects. 2015-03-17 5:30 GMT+01:00 Lucas Bradstreet : > I have had a lot of success with nippy > https://github.com/ptaoussanis/nippy, which is quite well documented. We > had problems with fressian round tripping Clojure collections,

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-16 Thread Lucas Bradstreet
I have had a lot of success with nippy https://github.com/ptaoussanis/nippy, which is quite well documented. We had problems with fressian round tripping Clojure collections, as you've described. It has a number of other features (compression, encryption) that I may end up using. It has

Re: Edn, Fressian, Transit: which of these formats have a future?

2015-03-15 Thread Alex Miller
. While it has many advantages as an extensible readable literal data format, it's an uphill battle to sell that against other data formats that already have greater mindshare and tooling in other language communities. fressian is the highest performance option - it takes full advantage of a n

Edn, Fressian, Transit: which of these formats have a future?

2015-03-15 Thread Ryan Schmitt
n = "{:artist \"Meshuggah\", :album \"Chaosphere\", :tracks 8, :year 1998}";Album album = DynamicObject.deserialize(edn, Album.class); album.getArtist(); // => "Meshuggah" dynamic-object has always been opinionated about using Edn as the primary data langu

Re: Write/reading java maps and lists using fressian/transit

2014-08-07 Thread Islon Scherer
Ok, I got it. Instead of using transit-clj I can user the java library directly. The reader automatically returns ArrayList and HashMap. Great! On Thursday, August 7, 2014 8:11:50 PM UTC+2, Thomas Heller wrote: > > Both Transit and fressian take a Handler map as arguments to the > read

Re: Write/reading java maps and lists using fressian/transit

2014-08-07 Thread Thomas Heller
Both Transit and fressian take a Handler map as arguments to the reader/writer functions/constructors. So its pretty straightforward to replace the default handlers with handlers that do what you want. I have no example handy but it should be documented in both libraries. Transit has

Write/reading java maps and lists using fressian/transit

2014-08-07 Thread Islon Scherer
Hi, I have a program I wrote who needs to serialize java HashMaps and ArrayLists to and from disk but AFAIK (and after some simple tests) it seems fressian writes those maps/lists correctly but read them back as clojure maps and lists (persistent). Is there a way to tell fressian (could be

Re: ANN: data.fressian, read and write Fressian from Clojure

2014-01-03 Thread Henrik Eneroth
Thanks for this! I watched your talk about this on the conj, and this is really cool stuff. Are there any plans for a ClojureScript version of Fressian? On Thursday, November 14, 2013 5:51:41 PM UTC+1, stuart@gmail.com wrote: > > data.fressian [1] is a Clojure-language wrapper f

ANN: data.fressian, read and write Fressian from Clojure

2013-11-16 Thread Alex Miller
The ci build is setup and the 0.2.0-SNAPSHOT release is available. The API docs are also now online. Alex -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new memb

ANN: data.fressian, read and write Fressian from Clojure

2013-11-14 Thread Stuart Halloway
data.fressian [1] is a Clojure-language wrapper for the reference implementation [2] of Fressian. I am still setting up CI, maven release, etc. but wanted to get the source up so that interested parties can peruse and contribute. The wiki at [2] is currently the best source of documentation

.net port of fressian : fressian-clr

2013-02-15 Thread Eric Thorsen
We've created a .net port for fressian and tested this back and forth with the java library. Repo is here: https://github.com/fressian/fressian-clr Feedback welcome! Eric -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To pos

Re: fressian

2013-01-25 Thread Brent Millare
Ok, well I bit the bullet and figured out how to add vectors myself. See the results here: https://github.com/bmillare/dj.fressian On Monday, January 21, 2013 6:26:48 PM UTC-5, Brent Millare wrote: > > Has anyone checked out fressian, the binary serialization/deserialization > used b

fressian

2013-01-21 Thread Brent Millare
Has anyone checked out fressian, the binary serialization/deserialization used by datomic? https://github.com/Datomic/fressian I want to use it for clojure data but I don't think the handler list is complete at the moment. Anyone have more fleshed out handlers, such as vectors? Currently