Is JSON number stored in binary format?
sean at basho.com
Mon Jan 28 15:43:58 EST 2013
Riak is oblivious of your data's format, so it will store the literal
JSON. If you need more compact formats, you should marshal it yourself
(and probably send it as a different media type) before storing.
On Mon, Jan 28, 2013 at 1:35 PM, Boris Solovyov
<boris.solovyov at gmail.com> wrote:
> I apologize if question is answered on archives, but it is not easy to
> search for this. Suppose I store following JSON array,
> PUT /riak/mybucket/mykey [1359401530, 1359401531, 1359401532, 1359401533,
> 1359401534, 1359401535, 1359401536]
> Is number 1359401530 stored as array of bytes ['1', '3'.....] in 10 bytes,
> or as binary value 01010001000001101101001000111010, in 4 bytes?
> Many thanks,
> riak-users mailing list
> riak-users at lists.basho.com
Sean Cribbs <sean at basho.com>
Basho Technologies, Inc.
More information about the riak-users