summaryrefslogtreecommitdiff
path: root/common/json-schema-to-grammar.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/json-schema-to-grammar.h')
-rw-r--r--common/json-schema-to-grammar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/json-schema-to-grammar.h b/common/json-schema-to-grammar.h
new file mode 100644
index 00000000..2e4c6ade
--- /dev/null
+++ b/common/json-schema-to-grammar.h
@@ -0,0 +1,4 @@
+#pragma once
+#include "json.hpp"
+
+std::string json_schema_to_grammar(const nlohmann::json& schema);