mstch/test/data/grandparent_context.h
Daniel Sipka eb98985815 import
2015-04-09 20:41:27 +02:00

20 lines
631 B
C++

auto data = mstch::object{
{"grand_parent_id", std::string{"grand_parent1"}},
{"parent_contexts", mstch::array{
mstch::object{
{"parent_id", std::string{"parent1"}},
{"child_contexts", mstch::array{
mstch::object{{"child_id", std::string{"parent1-child1"}}},
mstch::object{{"child_id", std::string{"parent1-child2"}}}
}}
},
mstch::object{
{"parent_id", std::string{"parent2"}},
{"child_contexts", mstch::array{
mstch::object{{"child_id", std::string{"parent2-child1"}}},
mstch::object{{"child_id", std::string{"parent2-child2"}}}
}}
}
}}
};