Blaze 0.0.1
The ultra high-performance JSON Schema evaluator
Loading...
Searching...
No Matches
canonicalizer.h
1#ifndef SOURCEMETA_BLAZE_CANONICALIZER_H_
2#define SOURCEMETA_BLAZE_CANONICALIZER_H_
3
12
13#ifndef SOURCEMETA_BLAZE_CANONICALIZER_EXPORT
14#include <sourcemeta/blaze/canonicalizer_export.h>
15#endif
16
17#include <sourcemeta/core/jsonschema.h>
18
19#include <sourcemeta/core/json.h>
20
21#include <string_view> // std::string_view
22
23namespace sourcemeta::blaze {
24
41SOURCEMETA_BLAZE_CANONICALIZER_EXPORT
42auto canonicalize(sourcemeta::core::JSON &schema,
43 const sourcemeta::core::SchemaWalker &walker,
44 const sourcemeta::core::SchemaResolver &resolver,
45 const std::string_view default_dialect = "",
46 const std::string_view default_id = "") -> void;
47
48} // namespace sourcemeta::blaze
49
50#endif
SOURCEMETA_BLAZE_CANONICALIZER_EXPORT auto canonicalize(sourcemeta::core::JSON &schema, const sourcemeta::core::SchemaWalker &walker, const sourcemeta::core::SchemaResolver &resolver, const std::string_view default_dialect="", const std::string_view default_id="") -> void