We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ba04b commit f59e9fcCopy full SHA for f59e9fc
pom.xml
@@ -3,7 +3,7 @@
3
<modelVersion>4.0.0</modelVersion>
4
<groupId>com.networknt</groupId>
5
<artifactId>json-schema-validator</artifactId>
6
- <version>0.1.0</version>
+ <version>0.1.1</version>
7
<description>A json schema validator that supports draft v4</description>
8
<url>https://github.com/networknt/json-schema-validator</url>
9
<name>JsonSchemaValidator</name>
src/main/java/com/networknt/schema/JsonSchemaFactory.java
@@ -52,4 +52,8 @@ public JsonSchema getSchema(URL schemaURL) {
52
}
53
54
55
+ public JsonSchema getSchema(JsonNode jsonNode) {
56
+ return new JsonSchema(mapper, jsonNode);
57
+ }
58
+
59
0 commit comments