refactor : rename common_schema_parse to common_schema_from_json

This commit is contained in:
Alde Rojas
2026-09-12 13:23:11 -05:00
parent 5abafdeff4
commit 301b0eb5f3
8 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -1124,7 +1124,7 @@ common_peg_parser common_peg_parser_builder::schema(const common_peg_parser & p,
}
common_peg_parser common_peg_parser_builder::schema(const common_peg_parser & p, const std::string & name, const common_json & schema, bool raw) {
auto doc = std::make_shared<const common_schema_document>(common_schema_parse(schema));
auto doc = std::make_shared<const common_schema_document>(common_schema_from_json(schema));
return this->schema(p, name, doc, *doc->root, raw);
}