aboutsummaryrefslogtreecommitdiff
path: root/lib/mstch/test/data/section_as_context.hpp
blob: fc5333a0549d06d86616ccd06321b9730e454492 (plain)
1
2
3
4
5
6
7
8
9
10
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"}}}
    }}
  }}
};