aboutsummaryrefslogtreecommitdiff
path: root/lib/mstch/test/data/grandparent_context.hpp
blob: a291143f4643944b302a87d70174be87f064bb69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const auto grandparent_context_data = mstch::map{
  {"grand_parent_id", std::string{"grand_parent1"}},
  {"parent_contexts", mstch::array{
    mstch::map{
      {"parent_id", std::string{"parent1"}},
      {"child_contexts", mstch::array{
        mstch::map{{"child_id", std::string{"parent1-child1"}}},
        mstch::map{{"child_id", std::string{"parent1-child2"}}}
      }}
    },
    mstch::map{
      {"parent_id", std::string{"parent2"}},
      {"child_contexts", mstch::array{
        mstch::map{{"child_id", std::string{"parent2-child1"}}},
        mstch::map{{"child_id", std::string{"parent2-child2"}}}
      }}
    }
  }}
};