forked from bblanchon/ArduinoJson
Return a JsonValue& instead of a KeyValuePair* (+40 bytes)
This commit is contained in:
1 parent
85ffb83aa6
commit
2c29327ebd
4 files changed
+19
-15
No files matched your search
@@ -8,6 +8,8 @@
|
||||
|
||||
using namespace ArduinoJson::Internals;
|
||||
|
||||
JsonValue JsonValue::nullInstance;
|
||||
|
||||
size_t JsonValue::printBoolTo(const Content& c, Print& p)
|
||||
{
|
||||
return p.print(c.asBool ? "true" : "false");
|
||||
|
||||
Reference in new issue
Block a user