Files
reflect-cpp/tests/json/test_empty_object.cpp
2025-10-13 18:16:14 +02:00

17 lines
275 B
C++

#include <rfl.hpp>
#include <rfl/json.hpp>
#include <string>
#include "write_and_read.hpp"
namespace test_empty_object {
struct Empty {};
TEST(json, test_empty_object) {
const auto empty = Empty{};
write_and_read(empty, R"({})");
}
} // namespace test_empty_object