-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detect certain JSON reference cycles while parsing schemas
- Loading branch information
1 parent
ae0112b
commit b151d1e
Showing
2 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#pragma once | ||
|
||
#include <map> | ||
#include <string> | ||
|
||
#include <valijson/subschema.hpp> | ||
|
||
namespace valijson { | ||
|
||
typedef std::map<std::string, const Subschema *> SchemaCache; | ||
|
||
} // namespace valijson |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters