It is certainly possible with the official C driver too, as Nat wrote,
but this question was asked before, a couple of months ago. At that
point, I threw together a short tutorial using my libmongo-client C
library and json-c.
The tutorial is available at
http://algernon.github.com/libmongo-client/tut_json2bson.html (source
at https://github.com/algernon/libmongo-client/blob/master/docs/tutorial/examples/tut_json2bson.c)
Hope that helps.
--
|8]