#include #include namespace test_meta_fields { struct Person { std::string first_name; std::string last_name = "Simpson"; std::string town = "Springfield"; unsigned int age; std::vector children; }; TEST(json, test_meta_fields) { const auto fields = rfl::fields(); EXPECT_EQ(fields.size(), 5); } } // namespace test_meta_fields