You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/config.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,3 +48,10 @@ may have been built.
48
48
49
49
The type for this variable is Map<String, String>.
50
50
51
+
* javaSemantics
52
+
53
+
When set to true, use Java-specific semantics rather than native JavaScript semantics.
54
+
55
+
For example, if the node type is `number` per JS semantics where the value can be losslesly interpreted as `java.lang.Long`, the validator would use `integer` as the node type instead of `number`. This is useful when schema type is `integer`, since validation would fail otherwise.
56
+
57
+
For more details, please refer to this [issue](https://github.com/networknt/json-schema-validator/issues/334).
0 commit comments