Re: simpleJSON pack binary data

2007-07-22 Thread Marc 'BlackJack' Rintsch
On Sat, 21 Jul 2007 19:13:22 -0700, Andrey wrote: > My question is, anyone will suggest a workaround to this error? > i really like to pack my raw image data into the JSON, so my other > programming script can read the array easily JSON is a text format so you have to encode the binary data some

Re: simpleJSON pack binary data

2007-07-22 Thread Gabriel Genellina
En Sat, 21 Jul 2007 23:13:22 -0300, Andrey <[EMAIL PROTECTED]> escribió: > Is it possible to pack binary data into simplejson? json does not provide any direct "binary" type; strings are Unicode strings. Try encoding your data using Base64 for example, or transform it into an array of numbe