ArduinoJson <overloaded function with no contextual type information>

  arduino, arduinojson, c++, compiler-errors, debugging

This is the older version code for ArduinoJson v5.0:

JsonObject& json_parsed = jsonBuffer.parseObject(json);

This is after I changed it to ArduinoJson v6.0:

deserializeJson=(doc, json);

And after that I got this error messageC:UserswweihDesktopNew folder (2)free_codefree_code.ino: In function 'void loop()': free_code:55:33: error: overloaded function with no contextual type information 55 | deserializeJson=(doc, json); | ^

please help. Thanks

Source: Windows Questions C++