I have a document in MongoDB as  
name: name
date_created: date
p_vars: {
   01: {
      a: a,
      b: b,
   }
   02: {
      a: a,
      b: b,
   }
   ....
}
represented as DBObject
key, value pairs are of type String  DBObject as JSON on file?It seems that BasicDBObject's toString() method returns the JSON serialization of the object.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With