linux GDB tool Kamu


  File "I:\ZhongTongFu-DaShuJu\Project\senseware1\senseware\mongo\utility\", line 60, in convert_to_json
    new_json_obj = JSONEncoder(ignore_nan=True).encode(bson_obj)
  File "E:\python2.7\lib\site-packages\simplejson\", line 291, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "E:\python2.7\lib\site-packages\simplejson\", line 373, in iterencode
    return _iterencode(o, 0)
  File "I:\ZhongTongFu-DaShuJu\Project\senseware1\senseware\mongo\utility\", line 45, in default
    return json.JSONEncoder.default(self, o)
  File "E:\python2.7\lib\site-packages\simplejson\", line 268, in default
TypeError: Object of type UpdateResult is not JSON serializable

error prompts are like this

means that my does not conform to JSON format

code is like this

I found that I forgot to write ACKNOWLEDGED

Let’s add this to OK

The result of returning is the success of True representative


Related Posts

multi -step progress bar implementation method

HDP 2.4 offline installation post

CAS custom data encryption algorithm

[HDU 1269] Lysaka Castle Strong Connect

linux GDB tool Kamu

Random Posts

Flink combined with HDFS

java Learning Diary 8: The implementation of the file upload tool class and the server send pictures to the client Sleepat

Install VS2010 Chinese flagship version of Deepwater

1-8 Linux system

Android Studio execute error Device Unauthorized.leo The following problems occur during the execution of the real machine.