parameters: (self)
docstring: children.
docstring_summary: children.
docstring_tokens: children .
function: def children(self):
          """children."""
          memory = gdb.selected_inferior().read_memory(self.ptr, self.size).tobytes()
          bsonobj = next(bson.decode_iter(memory))  # pylint: disable=stop-iteration-return
  
          for key, value in list(bsonobj.items()):
              yield 'key', key
              yield 'value', bson.json_util.dumps(value)
function_tokens: def children ( self ) : memory = gdb . selected_inferior ( ) . read_memory ( self . ptr , self . size ) . tobytes ( ) bsonobj = next ( bson . decode_iter ( memory ) ) # pylint: disable=stop-iteration-return for key , value in list ( bsonobj . items ( ) ) : yield 'key' , key yield 'value' , bson . json_util . dumps ( value )