Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

BSON Recent threads

Threads Replies First post Last post
bad coding style on _BufBuilder class
By: Claudio Bisegni
Hi i've partially resolve the BSON patch for let him working on arm v5(on v6 and upper it's work. The problem is that within abc method the style of the coding puts a bug . I'have resolve substituting the content with: memcpy(grow(sizeof(int)),…
0 May 22 2012
13:33
May 22 2012
13:33
BSON on arm cpu
By: Claudio Bisegni
Hi, i have compiled succesfully bson cpp on arm but i have problem when i ho to read string key. I receive the error: terminate called after throwing an instance of 'bson::assertion' what(): BsonAssertion id: 13111 field not found, expected…
10 Apr 20 2012
15:57
May 18 2012
09:33
New array type proposal
By: Claudio Bisegni
Hi, I have a proposal for a new array type to bson spec. Now array are a bson document list. Image if I need to encode hundred or thousand of same elements (also structured) the write and read need to pass to write and read of full bson document…
4 Mar 17 2012
02:49
May 14 2012
09:10
bson c driver
By: Claudio Bisegni
Hi, i'm trying to use bson c driver instead cpp due to a bug in ccp version when running on arm. i'm trying to deserialize a bson so i used this: bson = bson_create(); bson_init_data( bson , (char*)serializedBson); this work but…
3 Apr 22 2012
15:47
Apr 30 2012
09:46
compiling bson standalone.....
By: Claudio Bisegni
I'm trying to use the bson package standalone. i have get bson forlde and other file front the /util/ when i compile i got error in bson-inl.h and bsonelement.h with this error: "'struct bson::BSONElement' is incomplete" where i can find all the…
2 Apr 21 2012
11:09
Apr 22 2012
01:28
Forcing C++ compilation
By: Nicoolas
Hello, It might be a SCONS question, please tell me if it is not really bson relevant. I am currently struggling to compile the C driver : - using a C++ compiler - on a Windows XP machine - if possible with the Visual Studio 2010 C++ compiler -…
0 Apr 12 2012
09:00
Apr 12 2012
09:00
Independant BSON C library
By: Nicoolas
Hello, I wish to implement BSON to serialize data on a device only programmable in C (without using MongoDB at all) I downloaded the MongoDB C driver and compiled the two libraries libbson and libmongoc. I was hoping to build the BSON test file…
3 Mar 23 2012
11:53
Mar 26 2012
13:38
A couple suggesitons for BSON
By: alvaro
I have some remarks about the BSON format's arrays: Arrays in BSON are stored as documents (objects) whose properties are integer numbers written as text. I think that adds unnecessary informations, as arrays have consecutive indices so that they…
5 Mar 17 2012
14:06
Mar 18 2012
19:55
Binary subtype question
By: Claudio Bisegni
hi all, i need to use the subtype value of bson for binary field. I have seen that is use \00 to \06 and \80 is for user defined. I need to describe the cogent of binary field with some custom structure that use base defined elsewhere. For every…
8 Mar 15 2012
12:07
Mar 17 2012
03:30
signed integer encoding
By: Bernd Späth
Hi together, to me the BSON-spec seems to be missing encoding information regarding both signed integer types: int32 as well as int64. As it even dictates byte-order in little-endian format it seemed to me you are trying to accomplish…
0 Mar 16 2012
17:15
Mar 16 2012
17:15
how to post a bson object using curl from a c program
By: Jeff Archer
Hi I am new to bson. Can someone please tell me how to post a bson object using curl from a c program ? My options are limited as I have to use only c for this. Appreciate your help. -JA
4 Mar 6 2012
22:07
Mar 7 2012
17:27
"Time to Live" or "Expire Time" type for BSON
By: threedot
BSON is very excellent format specification to exchange data semantically. BSON will be beyond of data storage format in the future. Also It will be used for data exchange format externally. On-demand external replication's cost very high than…
3 Feb 26 2012
08:50
Feb 26 2012
17:32
update key value of a BSON Object
By: Claudio Bisegni
Hi, there is way in BSON to update a value for a determinate key? i have tried to append the same key with different value and obviously i got the same key twice. i need this feature for a my project so i need to implement it is this function is…
3 Jan 11 2012
02:17
Jan 11 2012
12:26
Sending binary data using BSON over HTTP POST
By: Alper
Hi, I'm planning to send lots of binary data (several images in one message in this case) over HTTP POST. I know that JSON does this by encoding the binary part as Base64 and this introduces a lot of overhead. Is BSON any better in this case?
2 Dec 22 2011
16:24
Dec 22 2011
19:47
Please explain bson encode
By: zaqi syah
{"hello":"bson"} \x15 \x00 \x00 \x00 \x02 h e l l o \x00 \x05 \x00 \x00 \x00 b s o n \x00 \x00 I already read from this link : http://bsonspec.org/#/specification but stil confused. Can anyone explain what \x15 & why start \x15? what\x02…
1 Dec 11 2011
23:34
Dec 11 2011
23:40
Traversability
By: Kohányi Róbert
As the specification states: "BSON is de­signed to be tra­versed eas­ ily." What does "easily" refer to? Does this mean that a document, as a *whole* (stored on disk for example) can be easily deserialized into memory (which process, I know, is…
3 Oct 21 2011
04:32
Oct 21 2011
10:27
String vs CString
By: Kohányi Róbert
In the specification string is defined as follows: string ::= int32 (byte*) "\x00" cstring ::= (byte*) "\x00" I can understand why cstring is defined this way, however I can't see the advantages of the trailing "\x00" in string's definition. …
4 Oct 19 2011
20:31
Oct 20 2011
01:21
Read BSON from file
By: Viet Nguyen
I am working with a device that runs on embedded linux and has a cgi web server. Because the resource is limited, I do not install a DB server, instead I store data in separate JSON files, for instance config.json and use JSON format for data…
1 Oct 10 2011
23:56
Oct 11 2011
00:19
Java BSON
By: Kohányi Róbert
I've created a simple Java BSON encoder/decoder implementation: I've called it ebson (e for extensible). The project's page is here: http://code.google.com/p/ebson/. It is independent of MongoDB: for example, my library doesn't provide an ObjectId…
4 Oct 3 2011
11:49
Oct 6 2011
06:52
Is there a pure JavaScript impl of BSON
By: netSQL
I could not find a pure JavaScript implementation of BSON. Help? I plan to use BSON client side, in the browser. Help? Vic
4 Sep 21 2011
01:26
Sep 22 2011
10:36