CAUTION: SLIPPERY FLOORThe Arduino Library Manager installs the ArduinoJson version 6 by default.
However, using version 5 is highly recommended because version 6 is still in beta stage.
Open the Arduino Library Manager and make sure that ArduinoJson version 5 is installed.
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)