On Fri, Mar 2, 2012 at 03:50, Stephan Beal <sgb...@googlemail.com> wrote:
>
> Correct - i don't think we'll be able to do that kind of feature in JSON,
> largely because JSON doesn't do binary. The closest thing to "commit" i
> think we'll be able to portably/sensibly pull off is handling embedded docs
> (but i haven't attempted that yet, and it might or might not be possible
> with the current internals, but i suspect it is possible).

Actually you can make JSON handle arbitrary binary blobs by encoding
binary data in e.g. base64.
The other end can easily decode it back to binary. It will cost you
about 33% in size overhead, though.

--Leo--
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to