incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@grabb.it>
Subject Re: couchdb and blobs (using only couchdb or couchrest)
Date Mon, 23 Jun 2008 04:46:06 GMT
On Sun, Jun 22, 2008 at 9:43 PM, Chris Anderson <jchris@grabb.it> wrote:
> On Sun, Jun 22, 2008 at 9:40 PM, Patrick Aljord <patcito@gmail.com> wrote:
>
>> JSON::GeneratorError: source sequence is illegal/malformed
>
> I hate those! (But they are not my bug...)

More context: I think they are caused when the byte-array you feed
JSON contains sequences which don't map to a valid Unicode code-point.
You might try a base64 encoded version of the blob. That's the
standard way to stringify this sort of thing anyway.

>
> --
> Chris Anderson
> http://jchris.mfdz.com
>



-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message