mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-08-11 08:34:45 +02:00
Updated FAQ (markdown)
1
FAQ.md
1
FAQ.md
@@ -852,7 +852,6 @@ error: ambiguous overload for 'operator=' (operand types are 'String' and 'Ardui
|
|||||||
The solution is to remove the ambiguity with any of the following replacement:
|
The solution is to remove the ambiguity with any of the following replacement:
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
ssid = (String)network["ssid"];
|
|
||||||
ssid = (const char*)network["ssid"];
|
ssid = (const char*)network["ssid"];
|
||||||
ssid = network["ssid"].asString();
|
ssid = network["ssid"].asString();
|
||||||
ssid = network["ssid"].as<const char*>();
|
ssid = network["ssid"].as<const char*>();
|
||||||
|
Reference in New Issue
Block a user