This page covers ArduinoJson 5.13.5, consider upgrading to version 6.11.2.
error: 'StaticJsonBuffer' was not declared in this scope
error: 'DynamicJsonBuffer' was not declared in this scope
error: 'StaticJsonBuffer' does not name a type
error: 'DynamicJsonBuffer' does not name a type
- Downgrade ArduinoJson to 5.x (recommended as v6 is still in beta)
- Upgrade your program to work with ArduinoJson 6 (instructions here)