/* testjson.c */ #include "test.h" #include #include #include "mongo.h" #include "json/json.h" #include "md5.h" void json_to_bson_append_element( bson_buffer *bb , const char *k , struct json_object *v ); /** should already have called start_array this will not call start/finish */ void json_to_bson_append_array( bson_buffer *bb , struct json_object *a ) { int i; char buf[10]; for ( i=0; i