mstch/test/data/grandparent_context.hpp

19 lines
635 B
C++
Raw Normal View History

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