aboutsummaryrefslogtreecommitdiff
path: root/lib/mstch/test/data/null_lookup_object.hpp
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-01-16 15:43:04 +0800
committerMistivia <i@mistivia.com>2025-01-16 15:53:58 +0800
commit8689a7c78c50676ea739f52fbcee9f091709f5c0 (patch)
treebbb72c68e5e1753f751133941a402caa43e29a16 /lib/mstch/test/data/null_lookup_object.hpp
parent00afb767ae37488d99f78363d031b898b1932354 (diff)
add mstch
Diffstat (limited to 'lib/mstch/test/data/null_lookup_object.hpp')
-rw-r--r--lib/mstch/test/data/null_lookup_object.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/mstch/test/data/null_lookup_object.hpp b/lib/mstch/test/data/null_lookup_object.hpp
new file mode 100644
index 0000000..cbee5f9
--- /dev/null
+++ b/lib/mstch/test/data/null_lookup_object.hpp
@@ -0,0 +1,14 @@
+const auto null_lookup_object_data = mstch::map{
+ {"name", std::string{"David"}},
+ {"twitter", std::string{"@dasilvacontin"}},
+ {"fobject", mstch::array{
+ mstch::map{
+ {"name", std::string{"Flor"}},
+ {"twitter", std::string{"@florrts"}}
+ },
+ mstch::map{
+ {"name", std::string{"Miquel"}},
+ {"twitter", mstch::node{}}
+ }
+ }}
+}; \ No newline at end of file