Siemel Naran
Results
4
comments of
Siemel Naran
Can we use Java 16 for the tests, but keep Java 8 for main? This will allow me to use text blocks https://openjdk.java.net/jeps/355
Yeah, that's correct. The use case is something like this. Someone changes the schema to add a new attribute with default value. Then if you validate an existing json object...
There are two ways to implements this -- one is to bake it into the validate function, and another is the tree walker approach. I tried the latter as you...
It seems easier to do without creating a listener on the "default". Instead I added a variable shouldApplyDefaults (but then turned it into a class so that you can apply...