Arduino Library Manager doesn't list the latest versions of ArduinoJson
This page covers ArduinoJson 5.13.5, consider upgrading to version 6.21.2.
This is a very common issue.
If ArduinoJson doesn’t appear in Library Manager, or if only old versions are listed, try to delete the local cache. This will force the Library Manager to download the library list from scratch.
For example, on Windows, you need to delete:
You don’t even need to close Arduino, just re-open the Library Manager.