mstch/test/data/section_as_context.hpp

10 lines
346 B
C++
Raw Normal View History

2015-04-16 21:05:59 +02:00
const auto section_as_context_data = mstch::map{
{"a_object", mstch::map{
{"title", std::string{"this is an object"}},
{"description", std::string{"one of its attributes is a list"}},
{"a_list", mstch::array{
mstch::map{{"label", std::string{"listitem1"}}},
mstch::map{{"label", std::string{"listitem2"}}}
}}
}}
};