mstch/test/data/section_as_context.hpp

10 lines
346 B
C++
Raw Normal View History

2015-04-17 03:05:59 +08: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"}}}
}}
}}
};