mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-15 19:42:12 +02:00
Removed StaticJsonArray and DynamicJsonArray. Removed StaticJsonObject and DynamicJsonObject. Removed StaticJsonVariant and DynamicJsonVariant.
16 lines
301 B
C++
16 lines
301 B
C++
// ArduinoJson - arduinojson.org
|
|
// Copyright Benoit Blanchon 2014-2018
|
|
// MIT License
|
|
|
|
#include <ArduinoJson.h>
|
|
#include <catch.hpp>
|
|
|
|
TEST_CASE("JsonObject basics") {
|
|
DynamicJsonDocument doc;
|
|
JsonObject& obj = doc.to<JsonObject>();
|
|
|
|
SECTION("SuccessIsTrue") {
|
|
REQUIRE(obj.success());
|
|
}
|
|
}
|