forked from bblanchon/ArduinoJson
Serialize integer values in object
This commit is contained in:
1 parent
27a4d57f7c
commit
c1ab55f9d9
3 files changed
+15
-5
No files matched your search
@@ -89,13 +89,13 @@ TEST_F(JsonObjectSerializationTests, OneStringOverCapacity)
|
||||
|
||||
outputMustBe("{\"key1\":\"value1\",\"key2\":\"value2\"}");
|
||||
}
|
||||
/*
|
||||
|
||||
TEST_F(JsonObjectSerializationTests, OneInteger)
|
||||
{
|
||||
object["key"] = 1;
|
||||
outputMustBe("{\"key\":1}");
|
||||
}
|
||||
|
||||
/*
|
||||
TEST_F(JsonObjectSerializationTests, OneDoubleFourDigits)
|
||||
{
|
||||
object["key"].set<4>(3.14159265358979323846);
|
||||
|
||||
Reference in new issue
Block a user